Win or Learn
In life, actual there is no other options than win or learn,, since failure is misconception.
In case you did not win the situation, rather than giving yourself a hard time about another failure, you should ask yourself, what did I learn form this experience.
And start building your list of lessons learned and wins that followed.