I'll start by saying that "jealousy" is a slightly narcissistic way of trying to explain why someone doesn't like you, it's just too convenient of an explanation most of the time. In my experience it's often more complex than that when I examine it more carefully, and I have often revealed that their past has affected them to hold opinions that not only you, but many others disagree with.
I have sometimes had enemies, but none of them permanently. I have a strong sense of fairness and I do not yield when after careful consideration have found the other person to be unfair. In time they all see, meanwhile I stand my ground.
There was a co-worker that didn't talk to me for 2 months besides the bare minimum to get the necessary work done. What did I do to piss him off? I (rightfully) reported an incident mentioning the cause as the worker not paying attention. Since those reports are visible to everyone working there (~500 people) we should not name anyone involved in the incident, and I didn't. He wasn't happy about it, he felt attacked even though his name wasn't on it. He got really pissed off, walked up to me, talked A LOT of BS and I wasn't having any of it. I told him I'm not going to discuss it and refused all of his attempt to rationalize his way out of it. The guy was fuming as he walked away and ignored me the best he could the next 2 months. While he was wasting all that energy being angry at me I found it amusing actually, he knew I was right so he couldn't do sh!t about it, he just had a very hard time accepting it.
Anyways, he eventually turned around, now he's pretty respectful towards me and actually entertaining to talk to. He wasn't that nice before I put him in his place and drew my lines in the sand. I would even say I'd miss him when he retires.
That's pretty much the story for all my enemies, they don't stay enemies very long. I have no hate towards them which they can use to sustain their hate towards me, I don't have time and I don't care about that sh!t. I just have very clear boundaries and principles that can't really be called out as unfair. They absolutely hate me for some time until they realize their own mistakes and the fact that the easiest way to get their way with me is to treat me with respect and kindness.