Deuteronomy 20:18

New Living Translation Bible (NLT)
This will prevent the people of the land from teaching you to imitate their detestable customs in the worship of their gods, which would cause you to sin deeply against the Lord your God.

Read Deuteronomy 20:18 in other translations