Deuteronomy 7:4

7:4 for they will turn your sons away from me to worship other gods. Then the anger of the Lord will erupt against you and he will quickly destroy you.

Deuteronomy 7:25

7:25 You must burn the images of their gods, but do not covet the silver and gold that covers them so much that you take it for yourself and thus become ensnared by it; for it is abhorrent to the Lord your God.

tn The Hebrew word תּוֹעֵבָה (toevah, “abhorrent; detestable”) describes anything detestable to the Lord because of its innate evil or inconsistency with his own nature and character. Frequently such things (or even persons) must be condemned to annihilation (חֵרֶם, kherem) lest they become a means of polluting or contaminating others (cf. Deut 13:17; 20:17-18). See M. Grisanti, NIDOTTE 4:315.