Leviticus 20:1-7 New Revised Standard Version (NRSV)
Penalties for Violations of Holiness
20 The Lord spoke to Moses, saying: 2 Say further to the people of Israel:
Any of the people of Israel, or of the aliens who reside in Israel, who give any of their offspring to Molech shall be put to death; the people of the land shall stone them to death. 3 I myself will set my face against them, and will cut them off from the people, because they have given of their offspring to Molech, defiling my sanctuary and profaning my holy name. 4 And if the people of the land should ever close their eyes to them, when they give of their offspring to Molech, and do not put them to death, 5 I myself will set my face against them and against their family, and will cut them off from among their people, them and all who follow them in prostituting themselves to Molech.
6 If any turn to mediums and wizards, prostituting themselves to them, I will set my face against them, and will cut them off from the people. 7 Consecrate yourselves therefore, and be holy; for I am the Lord your God.