26 And the Lord replied, "If I find fifty righteous people in Sodom, I will spare the entire city for their sake." 27 Then Abraham spoke again. "Since I have begun, let me speak further to my Lord, even though I am but dust and ashes. 28 Suppose there are only forty-five righteous people rather than fifty? Will you destroy the whole city for lack of five?" And the Lord said, "I will not destroy it if I find forty-five righteous people there." 29 Then Abraham pressed his request further. "Suppose there are only forty?" And the Lord replied, "I will not destroy it for the sake of the forty." 30 "Please don't be angry, my Lord," Abraham pleaded. "Let me speak-suppose only thirty righteous people are found?" And the Lord replied, "I will not destroy it if I find thirty." 31 Then Abraham said, "Since I have dared to speak to the Lord, let me continue-suppose there are only twenty?" And the Lord replied, "Then I will not destroy it for the sake of the twenty." 32 Finally, Abraham said, "Lord, please don't be angry with me if I speak one more time. Suppose only ten are found there?" And the Lord replied, "Then I will not destroy it for the sake of the ten." 33 When the Lord had finished his conversation with Abraham, he went on his way, and Abraham returned to his tent.
Matthew Henry's Commentary on Genesis 18:26-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.