Guilt can be both — a hugely liberating factor that liberates you from the little self, and guilt can equally be a defence of the ego.
What does ‘guilt’ say? Let’s first of all look at it. Guilt says, “I am better than how and what I did.” Guilt says, “I am better than my actions, or I am better than my thoughts. I am better than the account I gave of myself on a particular occasion, or on multiple occasions.”