I try not to bother myself about what’s going on in people’s heads. Their thoughts can’t hurt me. What matters is how they behave. What would I feel if someone were to openly gloat about their new toy? I would feel annoyed at first and think he’s being a prick, but with any luck my better self would step in, and remind me to have compassion. This person has a reason for gloating. He/She is managing some need in the only way he knows how, or in the most effective way he knows how. A need that he can’t control, that he didn’t ask for.
My better self would feel sad for him, that he hasn’t gotten enough therapy in his life to understand what “violent communication” means, that he hasn’t found any more effective way to get his emotional needs met. I would feel sad for myself, being in a relationship that causes me to suffer. If my better self had come online by now, I would take some time to ask myself why I’m in such a relationship. If my better self’s better self were nearby, we would take some time to ask why it bothers me when this person gloats.
Often, when we ask “Why?” concerning our feelings, there is some annoying voice implying that we shouldn’t be having the feelings, that we should just try not to have them. Don’t do that. Have your feelings. Never try not to have feelings. It’s unhealthy. This is a real “Why?” that has an answer, perhaps many answers. Look really closely at the insides of your head, see what’s there. And don’t feel bad about anything you find. If there’s jealousy all over the walls, don’t judge yourself about it. You didn’t ask for that jealousy (or whatever) to be in there. On the other hand, you have to own your feelings; your gloater isn’t causing them. Someone else might enjoy his gloating, or at least, they might not be bothered by it.
As for feeling happy, I feel happy for anyone who gets enough to eat. Given your linear presentation of emotions, I’m going to guess that you’re a man, probably a young man. As you will discover in life, it’s possible to have multiple emotions at the same time. It’s possible to be simultaneously angry at your person for gloating, happy that he is having a happy life, and bitter that your life seems less happy than his. It’s possible to feel simultaneously compassionate for him, and annoyed that he’s doing this thing again.
It’s also possible to be wrong—if he’s not openly gloating, but rather you’re interpreting his behavior as gloating, then you must allow that you could be totally misunderstanding his intention. In which case, same as before, consider having a look around inside yourself to understand why it bothers you, but further, consider the possibility that you could be misinterpreting his behavior. Ask other people who know him, do they sense the same thing you sense? That he’s actively trying to manipulate your emotions? It can be good to get the perspective of others and compare it to yours.
And here’s an idea that might surprise you. Tell him, kindly, that you feel bad (or whatever) when he does such-and-such, and ask, is it his intention to make you feel bad. You might be surprised at his answer. If you decide to do this, be sure not to blame him for the feelings you’re having. They’re your own feelings, nothing to do with him. Also, be very specific about “such-and-such” above. What exactly does he say/do that causes you to have your unpleasant feelings? Tone of voice? Facial expression? Etc.
Now, deserve. Allow me to suggest that you put that toxic concept entirely out of your mind. It doesn’t mean what you think it means. It’s not a factual word: it’s strictly opinion. You think he doesn’t deserve it, someone else thinks he does. So “deserve” is about you, your feelings, nothing to do with him. Once again, an opportunity to go spelunking in your head: go find out what you mean when you say he doesn’t “deserve” it.
Also consider that you don’t “deserve” what you have either. You get enough to eat. There are plenty of people in the world who don’t. You didn’t do anything special to be born into your ample circumstances, nor did the starving people of the world do something bad to earn their lot. Don’t use all this to beat yourself up. Use it to learn about yourself, to learn how to be more compassionate, with yourself and others.
Believe it or not, I tried to keep this short!
Peace and luck