Genesis 18:16-21King James Version (KJV)
16 And the men rose up from thence, and looked toward Sodom: and Abraham went with them to bring them on the way.
17 And the Lord said, Shall I hide from Abraham that thing which I do;
18 Seeing that Abraham shall surely become a great and mighty nation, and all the nations of the earth shall be blessed in him?
19 For I know him, that he will command his children and his household after him, and they shall keep the way of the Lord, to do justice and judgment; that the Lord may bring upon Abraham that which he hath spoken of him.
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.