Does your worth as a human being depend upon your grade in my class (or any other class)?
NO! You are a valuable human being regardless of your performance!
And if you don't believe me ... think of someone you love. Do you love them any less based on their grades in a class - of course not!!