So the LORD said, "If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes."
Genesis 18:26
Surrounding context
18:25 Far be it from You to do such a thing as this, to slay the righteous with the wicked, so that the righteous should be as the wicked; far be it from You! Shall not the Judge of all the earth do right?"
18:26 So the LORD said, "If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes."
18:27 Then Abraham answered and said, "Indeed now, I who am but dust and ashes have taken it upon myself to speak to the Lord: