And all the people hearing etc. Here fourthly, so that nothing may be lacking to the commendation of John, he is commended by the Lord with respect to the proclamation of his fame. And since the fame of the good is salutary to the elect and pernicious to the reprobate, according to that passage of Second Corinthians two: "We are the good odor of Christ unto God, in those who are saved and in those who perish: to some indeed the odor of death unto death, to others the odor of life unto life"; therefore he commends in a twofold manner the proclamation of fame in John: first by showing it salutar...y to believers, second deadly to despisers. For to the first John appeared praiseworthy, but to the second contemptible: the first were humble and the second proud.
First therefore he introduces the commendation of John from the humble who assented, when he says: And all the people hearing, namely John preaching, justified God, that is, declared Him to be just, showing themselves to be unjust, confessing their sins, according to that passage of the Psalm: "That you may be justified in your words and may overcome when you are judged." For the sinner, when he confesses his sin, declares God just and justifies himself, according to that passage of Isaiah forty-three: "Tell, if you have anything, that you may be justified"; another translation: "Declare you first your iniquities, that you may be justified." And in this manner the publicans and sinners did, hearing John, according to that passage of Matthew three: "All Jerusalem went out to him, and all Judea, and all the region around the Jordan, to be baptized by him, confessing their sins." For these two things are required for the justification of sinners, namely penance and baptism. — And therefore he adds: Having been baptized with the baptism of John: above in chapter three: "And the publicans also came to be baptized," seeking from him what they should do: whence by sign and word they approved John as an angel of God and held his name in glory. Whence when the Lord asked of the Pharisees in Matthew twenty-one: "The baptism of John, whence was it, from heaven or from men?" they said among themselves: "If we say: From heaven, he will say to us: Why then did you not believe him? But if we say: From men, we fear the crowd: for all held John as a Prophet." And therefore it is added: "The publicans and harlots shall go before you into the kingdom of heaven."
Source: Commentary on Luke, Chapter 7