Third, as regards the example, he adds: According to these things it will be, on the day the Son of man is revealed. This is the day of judgment, on which there will be a revelation of Christ himself as Savior with respect to the good: First Peter 1: "You are guarded through faith, unto salvation ready to be revealed in the last time." There will also be a revelation of Christ as Judge with respect to the wicked: First Corinthians 4: "Do not judge before the time, until the Lord comes, who will both illuminate the hidden things of darkness and make manifest the counsels of hearts." Concerning ...both, Isaiah 56: "My salvation is near, that it may come, and my justice, that it may be revealed." This day of revelation is similar to the burning of Sodom, because in that event its example preceded; in the Epistle of Jude: "Just as Sodom and Gomorrah and the neighboring cities, having in like manner given themselves over to fornication and gone after other flesh, were made an example, suffering the punishment of eternal fire"; and similarly Second Peter 2: "Reducing the cities of Sodom and Gomorrah to ashes, he condemned them with overthrow, making them an example for those who would act impiously."
And therefore he says according to these things, so that the example may be similar as regards demerit, as regards the manner of judging, and as regards punishment. As regards demerit, because, just as in Sodom many were wicked and very few were good, so at the time of the final judgment, according to that passage below in chapter 18: "Do you think, when the Son of man comes, he will find faith on the earth?" Whence the Gloss: "He who in the meantime, not appearing, sees all things, will then, appearing, judge all things, when he shall have beheld all men, forgetful of his judgments, enslaved to this world, so that they deservedly ought to be destroyed along with the very world they inhabited."
According to these things it will also be with regard to the mode of judging, because the Lord is said to have descended: Genesis 18: "The Lord said to Abraham: The cry of Sodom and Gomorrah is multiplied, and their sin is aggravated exceedingly. I will go down and see whether they have done according to the cry that has come to me." So also the Lord will descend on the day of judgment: 1 Thessalonians 4: "For the Lord himself with commandment and with the voice of the Archangel and with the trumpet of God shall descend from heaven." Just as he also delivered Lot the just man, condemning the impious: Wisdom 10: "She delivered the just man from those who were perishing, when fire descended upon the Pentapolis, to whose wickedness a smoking wasteland bears witness, a deserted land, and trees bearing fruit at uncertain times, and a pillar of salt standing as a memorial of an unbelieving soul, etc.": so also will it be at the final judgment. Whence the Gloss: "When Lot departed, Sodom perished, because at the consummation of the age the Angels will go out and separate the wicked from the midst of the just and cast them into the furnace of fire," as is said in Matthew 13. Just as also the wrath of God came upon the impious suddenly, so also will it be at the final judgment: Isaiah 30: "Suddenly, when it is not expected, his destruction will come, and he will be shattered like a potter's vessel," etc.; and Matthew 25: "But while the bridegroom tarried, they all slumbered," etc.
According to these things it will also be with regard to punishment. For those were punished with fire and brimstone: Genesis 19: "Abraham rose in the morning," "and he saw the ashes ascending from the earth like the smoke of a furnace." So will it be in the punishment of the impious at the judgment: the Psalm: "He shall rain upon sinners snares, fire and brimstone and a blast of storms, the portion of their cup"; and Ezekiel 38: "I will rain fire and brimstone upon him and upon his army and upon the many peoples who are with him"; whence also Apocalypse 14: "If anyone shall worship the beast, he shall drink of the wine of the wrath of God, which is mingled with pure wine in the cup of his wrath, and he shall be tormented with fire and brimstone in the sight of the holy Angels." "And the smoke of their torments shall ascend forever and ever."
Source: Commentary on Luke, Chapter 17