Deuteronomy 12:2-5

LEB(i) 2 You must completely demolish all of the places there where they served their gods, that is, the nations whom you are about to dispossess, on the high mountains, and on the hills and under each leafy green tree.* 3 And you shall break down their altars, and you shall smash their stone pillars, and their Asherah poles you must burn with fire, and the images of their gods you shall hew down, and you shall blot out their names from that place. 4 You shall not worship Yahweh your God like this. 5 But only* to the place that Yahweh your God will choose from all of your tribes to place his name there as his dwelling shall you seek, and there you shall go.