Whether corporeal things were made on account of God's goodness?

Objections

Objection 1 : It would seem that corporeal creatures were not made on account of God's goodness. For it is said (Wis. 1:14) that God "created all things that they might be." Therefore all things were created for their own being's sake, and not on account of God's goodness.
Objection 2 : Further, good has the nature of an end; therefore the greater good in things is the end of the lesser good. But spiritual creatures are related to corporeal creatures, as the greater good to the lesser. Corporeal creatures, therefore, are created for the sake of spiritual creatures, and not on account of God's goodness.
Objection 3 : Further, justice does not give unequal things except to the unequal. Now God is just: therefore inequality not created by God must precede all inequality created by Him. But an inequality not created by God can only arise from free-will, and consequently all inequality results from the different movements of free-will. Now, corporeal creatures are unequal to spiritual creatures. Therefore the former were made on account of movements of free-will, and not on account of God's goodness.