Genesis 18:20-23King James Version (KJV)
20 And the Lord said, Because the cry of Sodom and Gomorrah is great, and because their sin is very grievous;
21 I will go down now, and see whether they have done altogether according to the cry of it, which is come unto me; and if not, I will know.
22 And the men turned their faces from thence, and went toward Sodom: but Abraham stood yet before the Lord.
23 And Abraham drew near, and said, Wilt thou also destroy the righteous with the wicked?