If you hate someone then most probably you will feel more jealous of him if he succeeded in achieving something.
If you don’t hate the person so much then the degree of the jealousy feelings will be less intense. On the other hand, if someone you really like achieved something then you might not feel jealous of him at all.