There are two kinds of failure. The first comes from never trying out your ideas because you are afraid, or because you are waiting for the perfect time. This kind of failure you can never learn from, and such timidity will destroy you.
The second kind comes from a bold and venturesome spirit. If you fail in this way, the hit that you take to your reputation is greatly outweighed by what you learn. Repeated failure will toughen your spirit and show you with absolute clarity how things must be done.
In the classical martial arts, there is a very old saying (circa 1200s):
“Bufu” 武風 means “martial wind”, The wind of circumstance, feeling out the moment, using ones true intuition. Not going with the flow, but playing your part in the flow, very consciously, and with determination to “do what’s right, not just whats right for you.”
The second word, “Ikkan” 一貫 means to persevere, to push through hardship, to apply your force of will to your circumstance, your fate, and your destiny. Life would not last long if we are simply subject to fate and destiny. The vary fact that we don’t all just give up and end ourselves means that we don’t really believe that were indignantly subject to fate.
It is through these ideas that we can turn situations of certain failure and death into pristine success and life.
When faced with a dire situation, simply smile. The human being has the ability to smile in the face of uncertainty and certain failure. Not only will this help to make you feel better, but it releases calming chemicals into the body and allows for better concentration and kinetic mobility. Effectively giving you the tools to succeed in the face of defeat.