23 And Abraham drew near, and said, Wilt thou consume the righteous with the wicked? 24 Peradventure there are fifty righteous within the city: wilt thou consume and not spare the place for the fifty righteous that are therein? 25 That be far from thee to do after this manner, to slay the righteous with the wicked, that so the righteous should be as the wicked; that be far from thee: shall not the Judge of all the earth do right? 26 And Jehovah said, If I find in Sodom fifty righteous within the city, then I will spare all the place for their sake. 27 And Abraham answered and said, Behold now, I have taken upon me to speak unto the Lord, who am but dust and ashes: 28 peradventure there shall lack five of the fifty righteous: wilt thou destroy all the city for lack of five? And he said, I will not destroy it, if I find there forty and five. 29 And he spake unto him yet again, and said, Peradventure there shall be forty found there. And he said, I will not do it for the forty's sake. 30 And he said, Oh let not the Lord be angry, and I will speak: peradventure there shall thirty be found there. And he said, I will not do it, if I find thirty there. 31 And he said, Behold now, I have taken upon me to speak unto the Lord: peradventure there shall be twenty found there. And he said, I will not destroy it for the twenty's sake. 32 And he said, Oh let not the Lord be angry, and I will speak yet but this once: peradventure ten shall be found there. And he said, I will not destroy it for the ten's sake. 33 And Jehovah went his way, as soon as he had left off communing with Abraham: and Abraham returned unto his place.

Matthew Henry's Commentary on Genesis 18:23-33

Commentary on Genesis 18:23-33

(Read Genesis 18:23-33)

Here is the first solemn prayer upon record in the Bible; and it is a prayer for the sparing of Sodom. Abraham prayed earnestly that Sodom might be spared, if but a few righteous persons should be found in it. Come and learn from Abraham what compassion we should feel for sinners, and how earnestly we should pray for them. We see here that the effectual, fervent prayer of a righteous man avails much. Abraham, indeed, failed in his request for the whole place, but Lot was miraculously delivered. Be encouraged then to expect, by earnest prayer, the blessing of God upon your families, your friends, your neighbourhood. To this end you must not only pray, but you must live like Abraham. He knew the Judge of all the earth would do right. He does not plead that the wicked may be spared for their own sake, or because it would be severe to destroy them, but for the sake of the righteous who might be found among them. And righteousness only can be made a plea before God. How then did Christ make intercession for transgressors? Not by blaming the Divine law, nor by alleging aught in extenuation or excuse of human guilt; but by pleading HIS OWN obedience unto death.