Humans are too complex to compare. To compare with someone, you need to take into account all aspects of human life. We all have different backgrounds so its unfair to compare achievements only.
Other person might be have tons of money, but they had worse childhood and are unhappy. Or they might have health issues.
We don’t know all details of other’s lives, so we cherry-pick and compare only what we know.