I think everyone feels envious of a high-flying peer once in a while. Or at least, I definitely do.
When someone younger than me, in my field, is making more money / getting more acclaim / winning praise from people I respect, it makes me seethe. Sometimes I even waste my time looking for a way to invalidate them, to put an asterisk* on their success, so I can feel better about myself.
Does this happen to anyone else? What do you do about it?
When you're in your early 20s everyone has similar goals - you're going to be a goddamn giant success, no matter what your field is. As the years go on you realise that's not going to happen and you have to re-evaluate. It's not always easy.
For me personally, I know I do good work. I know my coworkers can rely on me to deliver. Maybe I could be out there giving more conference talks and raising my profile, but I've learned to accept that isn't my forte, and that's ok. As engineers most of us are extremely lucky that even with very little public recognition we still earn the kind of money most people can only dream of.
When I'm at work, I do the best I can do. Then I get out of the door at a good time, go home to my family and have a blast with them. I'm happy, though my 21 year old self might recoil in horror to see it.