Go to this website and read the pdf file called "The Book of Contentment" to learn how to be happy with yourself and with life, to understand failures and how to turn them around to be learning moments - just a few thoughts shared in the pdf file are below - be sure to read all the way to the bottom, past the "Summary of Action Steps" where the author repeats the Action Steps given throughout the book/pdf file, and read the author's thoughts after he thanks you for reading:
"...Desire for approval is causing you pain...and you don't need the pain..."
"Failure is an indicator that something in our method needs to be changed...mistakes are not your fault but the fault of the method...change the methods and forgive yourself..."
"...it's a process in the brain...to become aware and notice and appreciate the goodness...the more we notice and appreciate about our lives and ourselves, the happier we are..."
"...the other person is never the problem...it's our action as a reaction...it's our taking it personally...we are all learning..."
"...Don't take it personally (the actions of others), reaffirm your own value to yourself...your value is not based on their actions or judgments...have compassion...other people lashing out or withdrawing is based on their pain, not about anything about you, so reach out to help relieve their pain...if they refuse, it's okay, it has nothing to do with you or your value..."
"...only need to appreciate what's inside you and all around you, no matter where you are or what your life circumstances..."