‏ Deuteronomy 12:30

30take care athat you be not ensnared to follow them, after they have been destroyed before you, and that you do not inquire about their gods, saying, ‘How did these nations serve their gods?—that I also may do the same.’
Copyright information for ESV