Check out: https://youtu.be/meiU6TxysCg
It takes a lot of effort to learn not to resent accomplishments of people you’re “competing” with even if they’re friends and you’re not directly competing with them. It’s a learned behavior to feel good for them instead.
There’s probably a selected reason for this, but it’s possible to overcome it (or at least be aware of its affect).
It’s better to frame life success on something else - like what you want to learn or the type of person you want to be.
Seems like I learned to feel good for other people‘s accomplishments, but I haven‘t unlearned comparing myself to them, and feeling good if I accomplish something they do not.