Why do I always lose that top student?

I was the best student in elementary school (it may sound funny because elementary school is quite fundamental). However, I was still one of the best students in the class (not the best) when I grew up and went to secondary school, but there was one thing that seemed to affect me: There was a boy who was better than me in everything, from social studies to science and natural sciences, even physical strength.

I... felt like I was being left behind so far, I think you know that feeling, the feeling of a loser, right? He seemed to be better than me in everything, especially grades. It seemed like every subject, test, and exam, he always had a higher score than me.

What do I need to do to beat him? Am I being too hard on myself? Am I doing something wrong? Am I not talented enough?...

Or maybe I am not working hard enough?

You are free to criticize me in any way that can help me enlighten :) . I really don't like losing anymore, maybe I need to use that top student as a milestone or goal for me to develop. So I post this article to ask for advice from everyone.

Thank you for those who are interested in this article! I really appreciate it if you can give me advice (if not, it's okay). And sorry if it makes you feel uncomfortable or extreme!

Btw, I'm 15 years old!