You can't.

Jealousy is a natural emotion.

Just realize that you should be happy for what other people have, not hate them for it.

Sometimes they didn't even ask for what they have, you can't blame them for things that just happened.