You need to look again, because it absolutely does. Or do you think, “if a man lies with another man,” was just talking about best buds sleeping in the same bed.
edit: I guess people are too lazy to look themselves for something that’s already common knowledge…
But it’s Leviticus 20:13.
And if a man lie with mankind, as with womankind, both of them have committed abomination: they shall surely be put to death; their blood shall be upon them.