Deuteronomy 12:2-3 (YLT)
2 ye do utterly destroy all the places where the nations which ye are dispossessing served their gods, on the high mountains, and on the heights, and under every green tree;
3 and ye have broken down their altars, and shivered their standing pillars, and their shrines ye burn with fire, and graven images of their gods ye cut down, and have destroyed their name out of that place.
About Deuteronomy 12: Deuteronomy 12 gives clear laws for worship. Moses is speaking to the people before they enter Canaan. He tells them to destroy the pagan altars of the nations. They must not worship God in the same way. God demands pure worship, not mixed with idolatry. Read the study notes
2 verses · Compare in parallel · Read all of Deuteronomy 12