Thirdly, he approves the Pharisee's response, so that it may be confirmed in truth; for which reason it is added: Simon answered and said: I judge that it is the one to whom he forgave more, namely that he loves more, so that the saying in Romans 5 may be verified: "Where sin abounded, grace did more abound." — And since, as is said in Sirach 21, "whatever wise word a knowing man hears, he will praise it and apply it to himself"; therefore it is added: And he said to him: Thou hast judged rightly. For Christ the Truth approves only this judgment, according to that saying in John 7: "Judge not ...according to appearance, but judge just judgment." Whence he who had made a false judgment from his own estimation now pronounces a right one by divine guidance, and he who had previously judged badly within himself now judges rightly against himself. Whence Gregory: "The Pharisee is convicted by his own sentence, because like a madman he carries the rope with which he is bound." — And note that here the Pharisee's judgment is commended; yet he who had sinned more is not thereby more approved, but it is shown that insofar as the reason of obligation which comes from what was forgiven is concerned, he is more obligated. Whence this statement is to be understood with reduplication and with respect to obligation, and presupposing grace and rectitude in the will; because many are bound to great acts of gratitude who render few or none. Whence Bede: "In the judgment of all, he offends more who owed more; but through mercy every case is changed, so that he loves more who owed more, if indeed he obtains grace."
Source: Commentary on Luke, Chapter 7