Deuteronomy 7:10~ And repayeth them that hate him to their face, to destroy them: he will not be slack to him that hateth him, he will repay him to his face.
This means that EVEN THE WICKED deserve reward for their good deeds according to God, and God does not deprive anyone of what is rightly his. The wicked are rewarded with riches, exquisite foods, great jobs, lasting marriages, “the best” that the world has to offer according to their good deeds, but they will not share the everlasting bliss in the WORLD TO COME- GODS KINGDOM. Instead, God rewards the wicked quickly, in this world, so that they will not survive to enjoy the great rewards that await the righteous.
It may seem that the wicked prosper exempt from Divine punishment, However, a deeper and broader perspective reveals the emptiness and futility of their glamorous lives.
Psalms 73:1-28 is the testimony of Asaph’s struggle with the fact that God does allow the wicked to prosper and was envious when he actually witnessed the prosperity of the arrogant, wicked people (73:3). He realized that not only do the wicked prosper, but “they increase in riches” seemingly as if exempt from judgement of their evil deeds(73:12). Asaph pondered on how he labored for the Lord everyday and yet didn’t have the riches that the wicked had, he asked himself if keeping himself holy was in vein recalling of how he was plagued and chastised for serving God (73:15). He was angered in retrospect, comparing his lowly life as a laborious servant of God to the tranquil, glamorous, wealthy lives of the wicked who do their evil in secret and mock God – until he thought of the Eternal World To Come (God’s Sanctuaries) where the righteous receive their true reward. By comparison, the fleeting pleasures of this world are insignificant (73:17).
The saying that “God rewards good with good and punishes evil” is absolutely true, just keep in mind that God rewards ALL GOOD, even the good that is done by evil people– and God punishes ALL EVIL, even the evil that is done by good people unless they truly repent ( having remorse/sorrow for the evil they have done and begins to obey God) never returning to evil again.