There will come a time in your life where, for whatever reason, something in your life journey will culminate in what is perceived as a failure. You don't pass an exam. You lose a major game or important campaign. You don't elected to an office you wanted. Someone you feel is important to your line of work or your career sheds a negative shroud over an idea of yours.
It may be sad, discouraging, depressing or even soul shattering. But failure is not a terrible thing. Failure is an amazing teacher, and an enriching event. With the right support and right attitude, failure is an instrumental opportunity to make a change - sometimes minimal, sometimes very drastic - for the better. Just remember that it is not a person, so it will never be who you are.