Take a step back and pause when you are getting treated unfairly because of someone’s jealousy. Remind yourself that it is not you that has the problem, it is them. Their jealousy and underlying issues are causing them to act this way.
Most jealousy is rooted in feelings of inadequacy; they see something in you that makes them feel that they aren’t as good. Real or imagined, negative thoughts or actions emerge as a reaction or solution to those feelings of inadequacy.
It can hurt to have a friend who is jealous, because the actions and emotional expressions of a jealous person are not kind or loving, and you may take it personally. Their jealousy is caused by their own underlying issues and it is not your fault.