So, then, since The fear of the Lord itself is wisdom and to withdraw from evil, understanding, it follows that just men who fear God and withdraw from evil have wisdom and understanding, which are preferred to all the earthly goods which evil men possess. And so it is manifest that the rationale of divine providence is upheld in the fact that spiritual goods are given to the just as the better goods, whereas temporal goods are given to the evil as precarious goods.
[St. Thomas Aquinas, The Literal Exposition on Job, Damico, tr. Scholars Press (Atlanta, GA: 1989) p. 339.]