And Jesus never really spoke about it at all. These biblical stories mention gay sex to make a larger point. That has been lost in the rush to condemn gays. The story about Sodom is actually about the duty of showing hospitality to strangers. The story, found in Genesis, is about Lot who is visited by two angels and invites them to stay the night at his house.
Lot fixes a meal for the angels.
But then the men of Sodom surround Lot's house and demand to know who the strangers are. They threaten to break down Lot's door to get at the strangers. The angels then use their supernatural powers to blind the mob so they are not able to get in the house. Lot later flees Sodom on advice from the angels, before God destroys Sodom in a downpour of fire and brimstone. For centuries, this story has been used to condemn gays.