Deuteronomy 12:30-31

30 be careful that you don't get curious about them after they've been destroyed before you. Don't get fascinated with their gods, thinking, "I wonder what it was like for them, worshiping their gods. I'd like to try that myself."
31 Don't do this to God, your God. They commit every imaginable abomination with their gods. God hates it all with a passion. Why, they even set their children on fire as offerings to their gods!

Deuteronomy 12:30-31 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 12

In this chapter orders are given to destroy all altars, pillars, groves, and images, made for the worship of idols in the land of Canaan, De 12:1-3 and to bring all sacrifices and holy things unto the place which the Lord should choose for his habitation, and not do as they then did, not being come to their rest, De 12:4-14, flesh for their common food might be killed and eaten in their own houses, provided they did not eat the blood, but poured it out upon the earth, De 12:15-25, tithes, vows, and freewill offerings, were to be eaten in the holy place, De 12:17-19 and burnt offerings to be offered on the altar of the Lord and the blood of them to be poured out upon the altar, De 12:26-28, all which they were carefully to observe, De 12:29, and they are cautioned against idolatry, and inquiring after the manner of it, as practised by the old inhabitants of the land, and introducing their customs into the service of God, De 12:30-32.

Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.