No story from the bible proves anything. The Sodom and Gomorrah story from Genesis 19 in the Hebrew Bible has been used to condemn gay and lesbian people. However, many scholars point to Ezekiel 16 as indicating that the cities were destroyed for not helping the poor and disadvantaged.
Also, the big event in the Sodom story is an attempted gang rape of strangers, which of course is reprehensible, but has nothing to do with playful sex, intimate lovemaking, innocent crushes, or non-violent fantasies. Gay people are not featured in the story, but dehumanizing violence is.
Consensual sexual relationships are not only not condemned in the story, they aren’t even mentioned. And, by the way, that same story ends with the supposed protagonist, Lot, having incestual relations with both of his daughters (whom he earlier offered to the rape gang!). If you read that story and decide that Lot is righteous and gay people are wicked, you’ve not read it carefully enough.
The story is what bible scholar Phyllis Trible would call a text of terror. It shows the horror of sexual violence but does not condemn the joy of consensual sexual relationships and life partnering.