There is no failure in life. It all depends how you take things. If you are desiring too much - you want to reach too high, and you cannot - then there is frustration and failure. But if you are not desiring anything and you are perfectly happy wherever you are, life is moment-to-moment victory.
To live moment to moment is the life of meditation. Then life becomes spontaneous without any effort; then nobody can make you miserable, nobody can disappoint you, nobody can make you a failure because in the first place you were not trying to be a success; you were not asking the future to be in a certain way. So whatever happens, the next moment you can rejoice. It is always your victory.
Remember this: with mind you will always be a loser. Even if you are victorious, your victories will be just defeats. With mind there is no victory, with no-mind there is no defeat. You have to shift your whole consciousness from mind to no-mind. Once no-mind is there, everything is victorious. Once the no-mind is there, nothing goes wrong, nothing can go wrong.