Deuteronomy 12:29-31

BSB(i) 29 When the LORD your God cuts off before you the nations you are entering to dispossess, and you drive them out and live in their land, 30 be careful not to be ensnared by their ways after they have been destroyed before you. Do not inquire about their gods, asking, “How do these nations serve their gods? I will do likewise.” 31 You must not worship the LORD your God in this way, because they practice for their gods every abomination which the LORD hates. They even burn their sons and daughters in the fire as sacrifices to their gods.