Also, there are
three other sections that are used in regard to homosexuality.
First is the destruction of Sodom and Gomorrah. However, the homosexual sex in that is the threatened rape of two angels who were disguised as beautiful men by the men of Sodom and Gomorrah, which was a common method of humiliation in ancient times, and I'm sure we can all agree that rape is a terrible thing. In addition, Sodom and Gomorrah is referred to twenty subsequent times in the Bible, often with detailed explanations of the sins of Sodom and Gomorrah, and none
of those twenty times refer to homosexuality as one of those sins.
Second is 1 Corinthians 6:9, which talks about various people who will not inherit the kingdom of God. Among these, he refers to πόρνοι, εἰδωλολάτραι, μοιχοὶ, μαλακοὶ, and ἀρσενοκοῖται. The last two are sometimes believed to refer to homosexuals (the previous ones talk about the sexually immoral, idolaters, and adulterers). However, that is not an accurate translation. The first of the two (μαλακοὶ) literally means "soft," and is used to refer to cowardly, lazy, or weak-willed people, which happen to be characteristics associated with women, so it's often translated as effeminate. The second of the two (ἀρσενοκοῖται) is a very
obscure Greek word. In fact, this use is the first recorded usage of the word. It is often included in lists of sins. Specifically, it's often included in lists of sins of an economic nature. When that is combined with it's etymology (ἀρσεν meaning "male" and κοῖται meaning "bed," often with a sexual connotation), the word probably is referring to some sort of prostitution or exploitation for economic ends.
Third, and final, is 1 Timothy 1:10, which is another list of sinners, and includes πόρνοις, ἀρσενοκοίταις, ἀνδραποδισταῖς, ψεύσταις, and ἐπιόρκοις. Now, the second one (ἀρσενοκοίταις) you should recognize from 1 Corinthians 6:9 as the final thing on the list. As discussed, it is often incorrectly used to refer to homosexuals, but would more accurately refer to prostitutes.
None of those are actually about gay people or even have any relation to gay people.
And, to my knowledge, that is all the Bible verses that refer to gay people or sex or are used to refer to gay people or sex, so, in conclusion, the Bible doesn't say that homosexuality is a sin. It says that homosexuality was a cultural taboo in ancient Israel, and that it is a sin for heterosexual people to have gay sex.