Genesis 18:22-33 New Revised Standard Version (NRSV)
22 So the men turned from there, and went toward Sodom, while Abraham remained standing before the Lord.[a] 23 Then Abraham came near and said, “Will you indeed sweep away the righteous with the wicked? 24 Suppose there are fifty righteous within the city; will you then sweep away the place and not forgive it for the fifty righteous who are in it? 25 Far be it from you to do such a thing, to slay the righteous with the wicked, so that the righteous fare as the wicked! Far be that from you! Shall not the Judge of all the earth do what is just?” 26 And the Lord said, “If I find at Sodom fifty righteous in the city, I will forgive the whole place for their sake.” 27 Abraham answered, “Let me take it upon myself to speak to the Lord, I who am but dust and ashes. 28 Suppose five of the fifty righteous are lacking? Will you destroy the whole city for lack of five?” And he said, “I will not destroy it if I find forty-five there.” 29 Again he spoke to him, “Suppose forty are found there.” He answered, “For the sake of forty I will not do it.” 30 Then he said, “Oh do not let the Lord be angry if I speak. Suppose thirty are found there.” He answered, “I will not do it, if I find thirty there.” 31 He said, “Let me take it upon myself to speak to the Lord. Suppose twenty are found there.” He answered, “For the sake of twenty I will not destroy it.” 32 Then he said, “Oh do not let the Lord be angry if I speak just once more. Suppose ten are found there.” He answered, “For the sake of ten I will not destroy it.” 33 And the Lord went his way, when he had finished speaking to Abraham; and Abraham returned to his place.