Failure is important; if you are a trapeze artist.
If every move was a guaranteed success there would be no tension, no excitement no show. No need to hold your breath as you wait to see if their outstretched arms will be received by the impossibly distant, saving arms of another.
When we think about failure in our own lives it can be easy to think about it in the same black and white terms. You either win or lose. I prefer to think about failure not in terms of what has been lost but instead what has been learned.