Forget the failure Look for the success in the trial.
At one time or another everyone has felt the sting of failure in life, that feeling of having the finish line in sight but never crossing it. But for every failure we have experienced, there is also a lesson that can be learned and used to strengthen our ability to succeed.
Whatever attitude is carried with failure will show how well one can cope with it and move on to the next issue at hand.
Look for what was done right, what can be done a bit better, and what can be done about it at present.