2 You are to give up to the curse all those places where the nations, whom you are driving out, gave worship to their gods, on the high mountains and the hills and under every green tree: 3 Their altars and their pillars are to be broken down, and their holy trees burned with fire, and the images of their gods cut down; you are to take away their names out of that place.

Matthew Henry's Commentary on Deuteronomy 12:2-3

Commentary on Deuteronomy 12:1-4

(Read Deuteronomy 12:1-4)

Moses comes to the statutes he had to give in charge to Israel; and begins with such as relate to the worship of God. The Israelites are charged not to bring the rites and usages of idolaters into the worship of God; not under colour of making it better. We cannot serve God and mammon; nor worship the true God and idols; nor depend upon Christ Jesus and upon superstitious or self-righteous confidences.