The historic books of the Bible were written by a “Yahweh only party” and are thus keenly critical of the worship of other gods in Judah. Still, it is clear from their description that polytheism was the norm in the First Temple period. It was only during King Josiah’s reform that the "Yahweh only party" really took control and began pushing other gods out of Judean minds.
Polytheism was the cultural norm during the First Temple period. It wasn't until the reforms of King Josiah described in 2 Kings in the second half of the 7th century BCE that other Semitic gods were actively removed from the Temple and parts of culture in favor of Yahweh.