And the LORD said, 'The outcry of Sodom and Gomorrah is indeed great, and their sin is exceedingly grave.
I will go down now and see whether they have done entirely as the outcry, which has come to Me indicates;
and if not, I will know.'
Then the men turned away from there and went toward Sodom, while Abraham was still standing before the LORD.
Abraham approached and said, 'Will You indeed sweep away the righteous with the wicked?
Suppose there are fifty righteous people within the city; will You indeed sweep it
away and not spare the place for the sake of the fifty righteous who are in it?
Far be it from You to do such a thing, to kill the righteous with the wicked, so that the righteous and the wicked are treated
alike. Far be it from You! Shall not the Judge of all the earth deal justly?'
So the LORD said, 'If I find in Sodom fifty righteous within the city, then I will spare the entire place on their account.'