The answer is simple: Yes and No.
People who perform good deeds are certainly rewarded with the good feelings that come from doing good deeds. They are also likely to be esteemed and supported by the community.
On the other side of the coin is the adage crime doesn't pay. Criminals are often caught and prosecuted. Even those who aren't caught may be forced into hiding or may suffer from a "guilty conscience."
However, those are generalizations. In the political arena, crimes pays big time. Corrupt politicians can exploit and even murder millions of people and never spend a day in jail. They can become millionaires. Just about any U.S. President could be used as an example.
Ditto for CEO's, like Bill Gates. The same applies to the media and contemporary labor unions.
So one can be variously punished or rewarded for bad deeds. In general, I think it's safe to say that those who profit from crime tend to be more powerful and are generally associated with "organized crime," which can include governments.
Good deeds are probably more likely to pay dividends, even if they aren't monetary. However, they can be punished - especially in the political arena.
For example, activists who fight for social justice are typically insulted, harassed and even murdered.
On a bit of a tangent, I find it interesting that evil seems to ordinarily prevail over good, at least at the higher levels of the political system. Think about the Roman Empire, the European colonial empires and the United States. There are amazingly few stories about "good leaders."
One of the political/psychological questions I've long pursued is why it's so hard for good to triumph over evil. Ironically, one of the problems may be the victims, who are often too "good" to fight back.