Deuteronomy 16:21-22

Do not worship other gods

21 When you build an altar to offer sacrifices to the Lord your God, do not put any Asherah pole there. 22 Do not put up any stone pillar as an idol. The Lord your God hates everything like that.

16:22People who prayed to false gods used poles and pillars as their idols. They put them up in the places where they prayed.