22 So the men turned from there and went toward Sodom, but Abraham still stood before the Lord. 23 Then Abraham drew near and said, “Will you indeed sweep away the righteous with the wicked? 24 Suppose there are fifty righteous within the city. Will you then sweep away the place and not spare it for the fifty righteous who are in it? 25 Far be it from you to do such a thing, to put the righteous to death with the wicked, so that the righteous fare as the wicked! Far be that from you! Shall not the Judge of all the earth do what is just?” 26 And the Lord said, “If I find at Sodom fifty righteous in the city, I will spare the whole place for their sake.”
27 Abraham answered and said, “Behold, I have undertaken to speak to the Lord, I who am but dust and ashes. 28 Suppose five of the fifty righteous are lacking. Will you destroy the whole city for lack of five?” And he said, “I will not destroy it if I find forty-five there.” 29 Again he spoke to him and said, “Suppose forty are found there.” He answered, “For the sake of forty I will not do it.” 30 Then he said, “Oh let not the Lord be angry, and I will speak. Suppose thirty are found there.” He answered, “I will not do it, if I find thirty there.” 31 He said, “Behold, I have undertaken to speak to the Lord. Suppose twenty are found there.” He answered, “For the sake of twenty I will not destroy it.” 32 Then he said, “Oh let not the Lord be angry, and I will speak again but this once. Suppose ten are found there.” He answered, “For the sake of ten I will not destroy it.” 33 And the Lord went his way, when he had finished speaking to Abraham, and Abraham returned to his place.— Genesis 18:22-33, English Standard Version
The passages concerning Sodom and Gomorrah in the Book of Genesis are often deeply misunderstood and misinterpreted. Far too many “Christians” want to explain away the reality that Sodom and Gomorrah were destroyed for their insistence on engaging in sin and perversion of the most abominable kinds, INCLUDING AND ESPECIALLY HOMOSEXUALITY, because it isn’t “nice” to think that God would blot out an entire nation from the Earth for butt-buggery.
It doesn’t work that way. Sorry, not sorry – faggotry and buggery are abominations in the eyes of the Lord, He says as much repeatedly. That is not the only evil in which Sodom and Gomorrah engaged, of course, but it is one of the worst.
Here is some useful Scriptural sounding-out to help you make sense of the passage above: