Deuteronomy 12:30-32 (YLT)
30 take heed to thee, lest thou be snared after them, after their being destroyed out of thy presence, and lest thou enquire about their gods, saying, How do these nations serve their gods, and I do so--even I?
31 ‘Thou dost not do so to Jehovah thy God; for every abomination of Jehovah which He is hating they have done to their gods, for even their sons and their daughters they burn with fire to their gods.
32 The whole thing which I am commanding you--it ye observe to do; thou dost not add unto it, nor diminish from it.
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
3 verses · Compare in parallel · Read all of Deuteronomy 12