Genesis 18:16-33 - Abraham's Plea For Sodom
16 Then the men got up from there, and looked toward Sodom; and Abraham walked with them to send them on the way. 17 The Lord said, “Shall I keep secret from Abraham [My friend and servant] what I am going to do,
22 Now the [two] men (angelic beings) turned away from there and went toward Sodom, but Abraham remained standing before the Lord. 23 Abraham approached [the Lord] and said, “Will You really sweep away the righteous (those who do right) with the wicked (those who do evil)? 24 Suppose there are fifty righteous [people] within the city; will You really sweep it away and not spare it for the sake of the fifty righteous who are in it? 25 Far be it from You to do
26 So the Lord said, “If I find within the city of Sodom fifty righteous [people], then I will spare the entire place for their sake.”
27 Abraham answered, “Now behold, I who am but dust [in origin] and ashes have decided to speak to the Lord.
29 Abraham spoke to Him yet again and said, “Suppose [only] forty are found there.” And He said, “I will not do it for the sake of the forty [who are righteous].”
30 Then Abraham said [to Him], “Oh, may the Lord not be angry, and I will speak; suppose thirty [righteous people] are found there?” And He said, “I will not do it if I find thirty there.”
31 And he said, “Now behold, I have decided to speak to the Lord [again]. Suppose [only] twenty [righteous people] are found there?” And the Lord said, “I will not destroy it for the sake of the twenty.”
32 Then Abraham said, “Oh may the Lord not be angry [with me], and I will speak only this once; suppose ten [righteous people] are found there?” And He said, “I will not destroy it for the sake of the ten.” 33 As soon as He had finished speaking with Abraham the Lord departed, and Abraham returned to his own place.