School is just a part of life, and life has limited resources. There will always be winners and losers. At least, until (and if) we reach a point where the total sum of resources exceeds the total demand for them.
The score is supposed to be representative of your knowledge in a subject. And the entire point of going to school is to become more knowledgeable in a subject so you can apply it somewhere in your life.
If the score was not an indicator, then it serves no purpose.
Unfortunately, academic scores in most of the world stopped representing knowledge and started representing rote memorization long ago. They are a very, very poor indication of knowledge.