It is obvious to feel bad when we confront failure in our lives and we think we are not good enough for anything and we give up.
Failure is a part of our lives to teach us what we change we need to make to reach the next level. It is not end of life.