There are the jealous types - the ones who are mean or put you down if you have something that they'd like to have. This can be justified sometimes eg infertility, loving parents
There also the defensive types - something you are doing doesn't align with their values and they can't deal with it, so they bang on about why they think their choices are better eg sending your kids to private school, not cooking from scratch etc.
Then there are the competitive types who always want to go one better, or want to show that they can do the same, if not better than you.
Jealousy is a natural, human emotion. Imagine how those children in shanty towns must feel when a fancy car drives by, or a hungry school child feels when a classmate opens their gourmet lunch.
But yes, some people are far too much affected by the success of others. Which is pointless. I rarely feel pangs of jealousy, but when I do, it lasts for about 5 seconds before I give my head a wobble and carry on.
If someone does well, then it's inspiring. If they can do it, I can do it too. But usually I can't be arsed,