Aristotle drew a line between phthonos — pure envy that resents others for having what you want — and zelos, emulation that is inspired by what others have achieved. Modern psychology calls these maladaptive and adaptive social comparison. The difference isn't about the person you're looking at. It's about whether you believe their success is something you could achieve too.