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.
"Do not worry; cultivate the habit of being happy." - Samael Aun Weor