I am happier interacting with happy people; I am unhappier interacting with unhappy people.
Therefore, when I make others unhappier, I make myself unhappier by giving myself unhappy people to interact with; when I make others happier, I make myself happier by giving myself happy people to interact with.