You need to be more positive. I know exactly how it feels to feel like you're good enough, but these exams are letting you think the opposite. You cannot change the grade you got so you will have to try harder. You've made it this far and things like this happen to the best of us. It's a test to see if we can overcome failure.. Sometimes you need to fail to succeed. Don't be so hard on yourself because it sounds like you are!