OP, I had that problem too. Just tell yourself, "Self, fuck you, you're awesome. Be awesome." If you convince yourself that you're awesome, you'll feel awesome - even if you're a useless piece of shit.
As everyone in the entire thread has said, it doesn't matter how well you do. All that matters is how you perceive yourself, and that's something you have the power to change.