Leviticus 20:4-6 New English Translation (NET Bible)
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, 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.
Prohibition against Spiritists and Mediums
6 “‘The person who turns to the spirits of the dead and familiar spirits to commit prostitution by going after them, I will set my face against that person and cut him off from the midst of his people.