No matter how good you act, they who like you will always praise you, but they who dislike you will always find a flaw in your deeds.
No matter what do you do or you don’t do, they who love you will always be pleased, but they who hate you will always mock you.
It’s ok. You can’t change their heart. Instead, it is their choice to like you or to dislike you.
But you can do one thing, just keep be yourself.
The righteous one need not praise and haters can do nothing for blocking his marvelous deeds.
Anyway, do what is right and let your pure heart shines.