While it is always good to be mindful of our impact on others, it is also impossible to change someone else, so if they are going to react egotistically, that is their choice.
In any case, gratitude is a virtue sorely lacking in the world today.
“Nothing is easier than self-deceit. For what each man wishes, that he also believes.” —Demosthenes
"Do not worry; cultivate the habit of being happy." —Samael Aun Weor