Deuteronomy 12:29-30 (Geneva)
29 When the Lord thy God shall destroy the nations before thee, whither thou goest to possesse them, and thou shalt possesse them and dwell in their lande,
30 Beware, lest thou be taken in a snare after them, after that they be destroied before thee, and lest thou aske after their gods, saying, Howe did these nations serue their gods, that I may doe so likewise?
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