Sri Sri Ravi Shankar:
In Patanjali Yoga Sutras, it is said there are four clues, ideas, or concepts on how to deal with real life situations.
First, there is friendliness. If you feel friendly for those who are happy, you will overcome jealousy.
For people who are suffering, you should have only compassion, and not friendliness.
Be happy for those who do good work, who are productive, and meritous.
For those who are doing bad things, feel indifference, not hatred.
These are the four different attitudes in our life. If we practise these, we will save our 'mann' (mind). When any other feeling opposite to this bothers you, then reverse your feelings. When you feel jealous, turn it around to love. Feelings cannot be changed by effort, but only through intention.