Deuteronomy 12:3

12:3 You must tear down their altars, shatter their sacred pillars, burn up their sacred Asherah poles, and cut down the images of their gods; you must eliminate their very memory from that place.

Deuteronomy 29:20

29:20 The Lord will be unwilling to forgive him, and his intense anger will rage against that man; all the curses written in this scroll will fall upon him and the Lord will obliterate his name from memory.