I failed to be a millionaire. 
But at least I am a multi-thousanaire, 
What is the meaning of failure?
Success and failure are results.
You do a series of acts and the results are according to those
acts.
Whether success or failure the results are correct.
You study, did well in exams and got good grades = correct.
You study, did your best in exams and got not so good grades =
correct
You study, and give up on the exams and fail = correct
So there is nothing wrong with success or failure, as they are all
correct happenings.
There is only your feelings, whether you are happy or sad with the
results.
You get what you want. = Happy
You did not get what you want. = Dissapointed
A failure?, there is actually no such thing.