I know how it must be for you. But don’t worry. It’s your personal battle and you have fought it well.
Everyone has their own journey.
You will get the best of your potential.
Everything will be alright
Everyone is unique. May be you are far far better than everyone in something else. Grades can never tell how much capable you are. They are just numbers. Don't be scared from your failures but accept it and learn something new because it will give you strength to face the reality. Champion doesn't born overnight or by good grades but they are made of confidence hardwork patience and acceptance and if you can work on all this then you are a champion.