Genesis 18:20-33

ISV(i) 20 The LORD also said, “How great is the disapproval of Sodom and Gomorrah! Their sin is so very serious! 21 I’m going down to see whether they’ve acted according to the protests that have reached me. If not, I wish to know.”
22 Then two of the men turned away from there and walked toward Sodom, while Abraham remained standing in the presence of the LORD.
23 Abraham Negotiates with GodAbraham approached and asked, “Will you actually destroy the righteous along with the wicked? 24 Perhaps there are 50 righteous ones within the city. Will you actually destroy it and not forgive the place for the sake of the 50 righteous that are found there? 25 Far be it from you to do such a thing—to kill the righteous along with the wicked, so that the righteous and the wicked are treated alike! The Judge of all the earth will do what is right, won’t he?”
26 The LORD said, “If I find 50 righteous people within Sodom, I’ll forgive the whole place for their sake.”
27 Abraham answered, “Look, even though I am only dust and ashes, I’ve ventured to speak to my LORD. 28 What if there are five less than 50 righteous ones? Will you bring destruction upon the city because of those five?”
The LORD said, “I won’t destroy it if I find 45 there.”
29 Abraham continued to speak to him, asking, “What if 40 are found there?”
The LORD replied, “I won’t do it for the sake of those 40.”
30 Abraham then asked, “I hope my LORD will not be angry if I speak. What if 30 are found there?”
The LORD answered, “I won’t do it for the sake of those 30.”
31 “Look,” Abraham said, “I’ve presumed to speak to my LORD… so what if 20 are found there?”
“For the sake of those 20,” the LORD responded, “I won’t destroy it.”
32 Finally, Abraham inquired, “I hope my LORD will not be angry if I speak only once more. What if ten are found there?”
He replied, “For the sake of those ten I won’t destroy it.”
33 As soon as he finished talking to Abraham, the LORD left and Abraham returned to where he had been sitting.