Do not bow down to their gods or serve them, and do not follow their practices. You must demolish them completely and smash their sacred pillars to pieces.
In context
22But if you truly listen to his voice and do everything I say, I will be an enemy to your enemies and a foe to your foes. 23My angel will go ahead of you and bring you to the Amorites, the Hittites, the Perizzites, the Canaanites, the Hivites, and the Jebusites, and I will wipe them out. 24Do not bow down to their gods or serve them, and do not follow their practices. You must demolish them completely and smash their sacred pillars to pieces. 25Serve Yahweh your God, and he will bless your bread and your water, and I will remove sickness from among you. 26No woman in your land will miscarry or be barren, and I will give you a full lifespan.