And the Lord said etc. After the reason for introducing the parable and the introduction of the parable itself, there follows here the application of the parable as introduced: concerning which three things are set forth. For human attention is aroused, confidence is raised up, and distrust is reproved.
First, therefore, with respect to the arousal of attention, it is said: And the Lord said: Hear what the unjust judge says, that is, consider the response of this judge, in which one must consider indeed how great is the efficacy of persistent prayer, because persistence begot annoyance, and a...nnoyance extorted justice. Whence although he had a heart of stone, he was nonetheless moved by the frequency of petitions, so that in him that poetic saying is verified:
"A drop hollows out a stone, not by force, but by falling often."
Although there was iniquity in him, he was nonetheless compelled to render justice by the widow's importunate persistence; from which we understand that if the persistence of petition softened a most hardened judge and inclined a most unjust one to render judgment, how much more powerfully will it incline a God who is merciful and just. Whence Chrysostom: "Not such a judge, lacking the faithfulness of love, compelled by weariness — nor can his zeal be praised here — but if he, with whatever disposition, avenged the widow, God the judge will most certainly avenge the injury done to his own." From this the efficacy of persistent prayer is shown in a wondrous way, because he who neither feared God nor cared for the regard of man nor loved justice was overcome by the widow through her importunate persistence in petitions.
Source: Commentary on Luke, Chapter 18