Leviticus 20:3-5

20:3 I myself will set my face against that man and cut him off from the midst of his people, because he has given some of his children to Molech and thereby defiled my sanctuary and profaned my holy name. 20:4 If, however, the people of the land shut their eyes to that man when he gives some of his children to Molech so that they do not put him to death, 20:5 I myself will set my face against that man and his clan. I will cut off from the midst of their people both him and all who follow after him in spiritual prostitution, to commit prostitution by worshiping Molech.