Whether the foreknowledge of merits is the cause of predestination?

Objections

Objection 1 : It seems that foreknowledge of merits is the cause of predestination. For the Apostle says (Rm. 8:29): "Whom He foreknew, He also predestined." Again a gloss of Ambrose on Rm. 9:15: "I will have mercy upon whom I will have mercy" says: "I will give mercy to him who, I foresee, will turn to Me with his whole heart." Therefore it seems the foreknowledge of merits is the cause of predestination.
Objection 2 : Further, Divine predestination includes the divine will, which by no means can be irrational; since predestination is "the purpose to have mercy," as Augustine says (De Praed. Sanct. ii, 17). But there can be no other reason for predestination than the foreknowledge of merits. Therefore it must be the cause of reason of predestination.
Objection 3 : Further, "There is no injustice in God" (Rm. 9:14). Now it would seem unjust that unequal things be given to equals. But all men are equal as regards both nature and original sin; and inequality in them arises from the merits or demerits of their actions. Therefore God does not prepare unequal things for men by predestinating and reprobating, unless through the foreknowledge of their merits and demerits.