Rising Above Shame-Based Identity Politics

Both shame and guilt involve feeling bad about something we have done and the cognitive dissonance that can result. However, where guilt focuses primarily on the action that led us to feel this way (“I have done something bad”), shame focuses primarily on the self as the cause (“I am someone bad”). Because of these differing focuses, shame and guilt have very different effects on behavior.

Source