In my opinion, comparing yourself to other people or comparing your performance to other people’s is just about the most random way to go about valuing something.
If that’s the way you’re going to measure your own worth or your efforts, then you’re basically leaving it all up to the kind of people you happen to come in contact with. At any given time, someone can enter your life who is better than you at virtually everything - because those people exist. There are people out there who can run faster than Usain Bolt and people who can outplay Jimmy Hendrix on the guitar.
Unless you’re explicitly entering a competition where your goal is to beat the other competitors, how well other people are or do shouldn’t change how you measure, value or judge yourself or the things you do. Why? Because it honestly makes no difference. :)