There is a verse in the OT that says God hates homosexuality. Let’s dig into that a bit.!. Remember wives were generally considered property in those days. Not in the Bible but in the general culture. Remember there were no effective condoms or no antibiotics.
That meant that if a man cheated on his wife homosexually he was likely to get a horrid bug from the fecal matter.. The wife could not say no to his advances so she got the bug. If A man cheats in a gay way he may well cheat with another woman. After that any man who had sex with that woman got the bug and gave it to his wife and so on. Faithfulness to your wife had a very important Public Health considerations.