It can also be a good way to acknowledge our feelings and to remain humble, to remind ourselves that that person is working hard too and to think about our responses before we act based on those feelings. That rivalry could some day become a cooperation or collaboration.
I've had a few people acting as though they were jealous and posting mean comments on my YouTube videos. And I agree, jealousy is different to envy. Envy is wanting what someone has or feeling bad you don'T have that, but wanting that person to continue to be successful. Jealousy is wanting that person to lose what they have.
I've felt envy before, and sometimes still do, and remind myself that I shouldn't compare myself to those people, I accept how I feel, and then it motivates me and inspires me to improve and continue what I love to do.