Expanding on Cofty's last comment.
There are two texts that do not fit the typical homosexual hit-texts.
It is assumed that there were no homosexuals in ancient Israel, or if there were some, then they were few. But we find that homosexuality must have been common enough to merit the specific commands that are normally used, and one less often used found at Deuteronomy 23:17. Which reads (NWT):
"None of the daughters of Israel may become a temple prostitute, neither may anyone of the sons of Israel become a temple prostitute."
What can we infer from this text? First, there must have been enough pagan temples to worry the priestly class (elder-like) that were trying to enforce their religion on the ordinary people, and it was not unusual to find in those temples, both attractive young women and men who served there (in return for a fee) to provide some "comfort" (grin) for those who felt in need of such services from either sex. Of course, many will deny that to be the case, as they seek to paint a picture of a "spiritual paradise" existing in ancient Israel.
The Aid book (first edition) for example p.1351, under 'prostitute' makes the startling claim (without offering and support) that prostitutes in ancient Israel were, " with few exceptions, foreign women. Yet we find Solomon judging a legal dispute, between two prostitutes ( 1 Kings 3:16-28). We find Samson being willing to seek out services of a (admittedly, foreign) prostitute (Judges 16:1). And what really was going on with the concubine of the levite in Judges 19: 1,2 ?
More interesting though is the description of sexual activity in 1 Kings 14:24 during the reign of Solomon's son Rehoboam.
" Even the male prostitute proved to be in the land."
So not so long after the glories of David's and Solomon's kingships, we find that throughout the land (of Judah, at least) there were male temple prostitutes. The text gives no hint as to whether these men (or boys) were active or passive (as some like to classify homosexual behaviour). But it is inferred that they were many. A prostitute, of course, is only half the story - the other half (undescribed in this account) are the clients. One would imagine that most of these temple prostitutes would want at least one client per day, hopefully 3 or 4. So we can assume that there were a lot of men (and, possibly some women) who became customers of these male temple prostitutes.
This demonstrates that divine commands or not, men were willing to have sex (likely by anal penetration) with other men and that this sexual activity was likely part of the sexual life of many Israelites.