Sharon Salzberg said this quote

Self-compassion is like a muscle. The more we practice flexing it, especially when life doesn’t go exactly according to plan (a frequent scenario for most of us), the stronger and more resilient our compassion muscle becomes.