Doing the right thing will not necessarily make you popular
"you will often have to combine being just with being disgraced. And then if you are wise, you should take delight in the bad reputation you have won by your good behavior."
- Seneca, Letters 113.32
agreed, I do see this quite often.