The most important thing that you get out of school is confidence. Grades are secondary. They reflect what you did, not what you will do or can do. Grades are backward looking; the reality is forward looking.
That is why we often get surprised by some “low graders” who later become successful in life. Grades or marks would be a great predictor of our future performance if the reality was invariant.