Sharon Salzberg said this quote

Mindfulness helps us see the addictive aspect of self-criticism— a repetitive cycle of flaying ourselves again and again, feeling the pain anew.