In St Catherine of Sienna’s Dialogues it is addressed similarly.
What God seeks in reparation of sin is perfect contrition for there is no finite physical penance or pain that can recompence the infinite God.
From
The Dialogues of St Catherine
However, I wish that you should know, that not all the pains that are given to men in this life are given as punishments, but as corrections, in order to chastise a son when he offends; though it is true that both the guilt and the penalty can be expiated by the desire of the soul, that is, by true contrition, not through the finite pain endured, but through the infinite desire; because God, who is infinite, wishes for infinite love and infinite grief.
…their every pain, whether spiritual or corporeal, from wherever it may come, receives infinite merit, …inasmuch as they possess the virtue of desire, and sustain their suffering with desire, and contrition, and infinite displeasure against their guilt, their pain is held worthy.
Thus we see that it is not pain and penance for their own sake that is pleasing to God but the properly ordered acceptance of pain and penance in perfect contrition.
Pain and suffering will, by their nature be finite. Proper and perfect Contrition is infinite.
Peace
James