In the prophet Hosea's time Israel could not resist temptation and it led to their demise. When the Israelites first arrived from Egypt, after the Exodus, the most popular religion of the land was worship of Baal, a god who promised fertility in family, flocks, and field.
The Israelites bought into it and started worshipping Baal which means they broke the first of the Ten Commandments. But they also took part in sex rituals that were a part of Baal worship. The shrines and temples of Baal included temple prostitutes both male and female. A Baal worshipper had relations with them as a way of requesting Baal to grant them many children, large flocks, and an abundant harvest.
Hosea preached against this. "They will have sexual relations with the prostitutes, but they will not have children," he argues. Hosea put the blame squarely on the men of Israel. "The men have sexual relations with prostitutes and offer sacrifices with the temple prostitutes. A foolish people will be ruined." (4:10, 14)
In America we have a lust for sex. I'm surprised Baal is not openly worshipped today because of the propensity to succumb to sexual temptation exhibited by so many in America and pornography is a billion dollar business.
There are two ways to deal with temptation. You run to it, or from it. The Israelites in Hosea's day ran to it unlike their forefather Joseph who ran when faced with sexual temptation. As God punished Israel how long before He takes His hand off the American people? Pray for a return to the Creator God on the part of our people.