I love this passage from the New Testament (1 Peter 3)
8 Finally, all of you, be like-minded, be sympathetic, love one another, be compassionate and humble. 9 Do not repay evil with evil or insult with insult. On the contrary, repay evil with blessing, because to this you were called so that you may inherit a blessing. 10 For,
“Whoever would love life and see good days must keep their tongue from evil and their lips from deceitful speech. 11 They must turn from evil and do good; they must seek peace and pursue it. 12 For the eyes of the Lord are on the righteous and his ears are attentive to their prayer, but the face of the Lord is against those who do evil.”
13 Who is going to harm you if you are eager to do good?
14 But even if you should suffer for what is right, you are blessed.
‘Do not fear their threats; do not be frightened.’ 15 But in your hearts revere Christ as Lord. Always be prepared to give an answer to everyone who asks you to give the reason for the hope that you have.
But do this with gentleness and respect, 16 keeping a clear conscience, so that those
who speak maliciously against your good behaviour in Christ may be ashamed of their slander.
17 For it is better, if it is God’s will, to suffer for doing good than for doing evil.
Sadly my experience is that from time to time there will be people who do not like (or at best understand) what you’re doing, even if you are trying only to do good – but I guess the thing to hang on to from this passage is that if all you’re trying to do, is to do good, then that should be enough… at least for you