17 Therefore “the Lord will not withhold good from those who walk in innocence”. Why then, O men, are you unwilling to keep innocence, except in order that you may have good things?...You see wealth in the hands of robbers, of the impious, the wicked, the base; in the hands of scandalous and criminal men you see wealth: God gives them these things on account of their fellowship in the human race, for the abundant overflowing of His goodness: who also “makes His sun to rise upon the good and the evil, and causes it to rain upon the righteous and upon the sinners.” Gives He so much to the wicked, and keeps nothing for you? He keeps something: be at ease, He who had mercy on you when you were impious, does He desert you when you have become pious? He who gave to the sinner the free gift of His Son's death, what keeps He for the saved through that death? Therefore be at ease. Hold Him a debtor, for you have believed in Him promising. What then remains for us here, in the winepress, in affliction, in hardship, in our present dangerous life? What remains for us, that we may arrive there? “O Lord God of virtues, blessed is the man that puts his hope in You.”
Source: The Enarrations, or Expositions, on the Psalms (New Advent)