That's called the motivation. Failure is one of the major things for depression, demotivation in our life.
If we could take it this way, the way you are saying, it could help us to step ahead.
People often fees ashamed for their failure and never realized how it makes them more strong, more capable, more power to get things in future.
Thanks for this meaningful words.
Posted using Partiko Android