I answer that, What falls under merit is the reward or wage, which is a kind of good. Now man's good is twofold: the first, simply; the second, relatively. Now man's good simply is his last end (according to Ps. 72:27: "But it is good for men to adhere to my God") and consequently what is ordained and leads to this end; and these fall simply under merit. But the relative, not the simple, good of man is what is good to him now, or what is a good to him relatively; and this does not fall under merit simply, but relatively.
Hence we must say that if temporal goods are considered as they are useful for virtuous works, whereby we are led to heaven, they fall directly and simply under merit, even as increase of grace, and everything whereby a man is helped to attain beatitude after the first grace. For God gives men, both just and wicked, enough temporal goods to enable them to attain to everlasting life; and thus these temporal goods are simply good. Hence it is written (Ps. 33:10): "For there is no want to them that fear Him," and again, Ps. 36:25: "I have not seen the just forsaken," etc.
But if these temporal goods are considered in themselves, they are not man's good simply, but relatively, and thus they do not fall under merit simply, but relatively, inasmuch as men are moved by God to do temporal works, in which with God's help they reach their purpose. And thus as life everlasting is simply the reward of the works of justice in relation to the Divine motion, as stated above (Articles [3],6), so have temporal goods, considered in themselves, the nature of reward, with respect to the Divine motion, whereby men's wills are moved to undertake these works, even though, sometimes, men have not a right intention in them.