Ten affirmations for shame — for the memory that still makes you wince, and the slow move from self-judgment to self-compassion.

Guilt says I did something bad. Shame says I am something bad. That is why shame is so much harder to shift: there is no action to repair, no apology that closes it, only a verdict you keep re-reading at two in the morning.
These ten affirmations work on the verdict. They separate what you did from who you are, and they replace judgment with something shame cannot survive very long in — ordinary self-compassion.
Shame's condition for survival is secrecy. It shrinks noticeably the moment one person who does not think less of you knows about it, which is why the affirmations are a bridge rather than a destination: say them until you can say the thing out loud to someone.
Watch for the switch from action to identity. "That was a bad decision" is workable; "I am the kind of person who does that" is not, because there is no next step. Every line here is designed to push the sentence back to the first form.

1. “I release self-judgment and accept myself, my mistakes, and my imperfections.”

2. “I choose to release shame and embrace self-acceptance.”

3. “I let go of shame and replace it with self-acceptance.”

4. “I release my shame and anger and choose self-compassion and self-love instead.”

5. “My self-worth is not defined by my mistakes.”

6. “I choose to let go of shame and embrace self-compassion.”

7. “I release any shame I carry from my past.”

8. “I release the need to judge myself.”

9. “I remain kind to myself as I move on from past mistakes.”

10. “I am kind to myself and accept my past.”
Guilt is about behaviour and points at a repair. Shame is about identity and points nowhere, which is why it tends to loop. Moving a thought from "I am" back to "I did" is most of the work.
They help interrupt the identity verdict, which is what makes shame so sticky. Deep shame — especially from trauma — usually also needs another person involved, whether a friend or a therapist.
Because it was never resolved, only avoided. Memories resurface with the same charge until the story attached to them changes, which is the part the affirmations and honest conversations actually do.
"My self-worth is not defined by my mistakes" — and then let the memory be old. You are not required to relitigate it every time it appears.