Framing. That's all it is.
Evil will thrive for a time, good will thrive for a time, ultimately that's not up to you. What others do and how they are or are not rewarded is not up to you. What does it matter anyway? Those who successfully do evil will die and be forgotten anyway, their actions having as little consequence as anyone else alive today.
You say you do your best to do good things? Great, focus on that. Because that is up to you. Whether in poverty or in absurd wealth, what matters is what you do with what you have. Evil people do evil things, it's to be expected. Why would you frustrate yourself with ignorant people acting as expected? And though it may be unjust, why compound it with anger over what you can't control?
Afterall, wouldn't you rather be governed by your commitment to bringing what good you can into the world instead of being consumed with frustration of evil acting like itself?