1 Kings 14:24

24 There were even male shrine prostitutes in the land; the people engaged in all the detestable practices of the nations the LORD had driven out before the Israelites.

Read 1 Kings 14:24 Using Other Translations

And there were also sodomites in the land: and they did according to all the abominations of the nations which the LORD cast out before the children of Israel.
and there were also male cult prostitutes in the land. They did according to all the abominations of the nations that the LORD drove out before the people of Israel.
There were even male and female shrine prostitutes throughout the land. The people imitated the detestable practices of the pagan nations the LORD had driven from the land ahead of the Israelites.