It says much more than merely commenting on the morality of men lying with men, as you must know.Being gay is not banned by the Bible. It however, specifically names sodomy and fornication as sexually immoral - and men lying with men -and that marriage can only be between a man and a woman.
Nowhere does it say being gay is banned.
If a man lies with a male as with a woman, both of them have committed an abomination; they shall surely be put to death; their blood is upon them.
Leviticus 20:13.