Thomas Aquinas: God's justice presupposes his mercy, and the ungodly is justified by the love God infuses (c. 1267)
In the Summa theologiae (I, q. 21, a. 4), Thomas teaches that in every work of God there is mercy and justice, but that “the work of divine justice always presupposes the work of mercy, and is founded upon it”: nothing is owed to creatures except by reason of something already in them, and so one comes to what depends only on the goodness of God's will. And elsewhere (II-II, q. 30, a. 4) he says that mercy is “in itself” the greatest of the virtues, the one held proper to God, though for man charity is greater.
And he says how each is seen. “Even in the damnation of the reprobate mercy is seen”, which punishes “less than is deserved”; and “in the justification of the ungodly justice is seen, when God remits sins on account of love, though he himself has mercifully infused that love”.
In our judgment, there lies the error. The justice by which God justifies the ungodly is not the love he puts in him, but the satisfaction of Christ, in which God is just and the justifier; and the cross does not appear in the article. And the hierarchy, with justice founded on mercy, is not set by Scripture, which shows them together. It is the road followed, seven centuries later, by John Paul II, with his justice that “serves love”.