When one of her students made a math mistake in the classroom, my friend, a former elementary school teacher would gently say to the embarrassed child:
Thank you for making the mistake so that others can learn from it.
She would then explain how to tackle the problem and correct it so that the next time her students would be able to solve the math puzzle on their own.
What a life lesson!
So often we need to be our own teachers and gently say to ourselves:
Thank you for making the mistake so that I may learn from it.