As defined in the American Psychological Association dictionary:
Self-compassion:
n. a construct derived from Buddhist thought and entailing a noncritical stance toward one’s inadequacies and failures. It has been suggested that if self-criticism can lead to negative emotions, self-compassion may promote well-being by protecting one from the negative emotional implications of one’s perceived failings.
It can be challenging to make a mistake and provide self-compassion.
Providing self-compassion can be even more strenuous for folks who experience anxiety, depression, trauma, low self-esteem, or perfectionism.