Deuteronomy 12:30 NIV

30 and after they have been destroyed before you, be careful not to be ensnared1 by inquiring about their gods, saying, "How do these nations serve their gods? We will do the same."2

References for Deuteronomy 12:30