I know that I have been guilty and I am pretty certain that most of us have guilty of comparing ourselves with others. When someone does something which others admire we can end up comparing ourselves with them and coming up on the short end of the stick.
Then we can find all kinds of reasons and excuses as why it was not us. Sometimes they are true when they have a particular skill we lack but that often could be overcome if we dedicated our time and effort. Not always if it is a physical skill or conditioning.
But in all cases that comparison is based on accomplishments and recognition and effort. But perhaps there is another basis for comparisons. If we were to base our comparison on our potentiality then we could say that we will never be better than anyone else but also never less than anyone else.
Our potentiality is equal to anyone else and it is our task to find out what that is through knowing ourselves. That exploration leaves no time for useless comparisons.