The Book of Leviticus states "Thou shalt not lie with mankind, as with womankind." in Chapter 18, Verse 22.
Leviticus ALSO states:
"Ye shall not round the corners of your heads, neither shalt thou mar the corners of thy beard" in Chapter 19, Verse 27; "Ye shall not make any cuttings in your flesh for the dead, nor print any marks upon you"; "And the swine, though he divide the hoof, and be clovenfooted, yet he cheweth not the cud; he [is] unclean to you" in Chapter 11, Verse 7; & "All that have not fins and scales in the seas, and in the rivers, of all that move in the waters, and of any living thing which [is] in the waters, they [shall be] an abomination unto you" in Chapter 11, Verse 10.
Yet, those who use the Bible to discriminate against gay people do not use the same part of the Bible to discriminate against men who shave, barbers, people with tattoos, pork eaters, football players, and people who eat shellfish.