So you failed in your exams, does it mean you have not learned anything? So you were not accepted for a job, does it mean no employer would later on trust you and consider you a valuable asset to his company? So you made a terrible mistake, does it mean you cannot have a second chance?
Things like these happen. But that does not mean you should lose your respect and love for yourself- let it remain, and never stop believing that you are GODS child; and no matter how many mistakes you have made along the way, you are still destined for the wholeness life!
See yourself through GODS' own eyes. In GODS' eyes, there is acceptance, there is no situation too hard to win nor weaknesses too weak to be overcome, by HIS insurmountable strength. So pick up yourself and keep moving!