Whether temporal goods fall under merit?

Objections

Objection 1 : It would seem that temporal goods fall under merit. For what is promised to some as a reward of justice, falls under merit. Now, temporal goods were promised in the Old Law as the reward of justice, as appears from Dt. 28. Hence it seems that temporal goods fall under merit.
Objection 2 : Further, that would seem to fall under merit, which God bestows on anyone for a service done. But God sometimes bestows temporal goods on men for services done for Him. For it is written (Ex. 1:21): "And because the midwives feared God, He built them houses"; on which a gloss of Gregory (Moral. xviii, 4) says that "life everlasting might have been awarded them as the fruit of their goodwill, but on account of their sin of falsehood they received an earthly reward." And it is written (Ezech. 29:18): "The King of Babylon hath made his army to undergo hard service against Tyre . . . and there hath been no reward given him," and further on: "And it shall be wages for his army . . . I have given him the land of Egypt because he hath labored for me." Therefore temporal goods fall under merit.
Objection 3 : Further, as good is to merit so is evil to demerit. But on account of the demerit of sin some are punished by God with temporal punishments, as appears from the Sodomites, Gn. 19. Hence temporal goods fall under merit.
Objection 4 : On the contrary, What falls under merit does not come upon all alike. But temporal goods regard the good and the wicked alike; according to Eccles. 9:2: "All things equally happen to the just and the wicked, to the good and to the evil, to the clean and to the unclean, to him that offereth victims and to him that despiseth sacrifices." Therefore temporal goods do not fall under merit.