Leviticus 20:6

6 “ ‘I will set my face against anyone who turns to mediums and spiritists to prostitute themselves by following them, and I will cut them off from their people.

Read Leviticus 20:6 Using Other Translations

And the soul that turneth after such as have familiar spirits, and after wizards, to go a whoring after them, I will even set my face against that soul, and will cut him off from among his people.
"If a person turns to mediums and necromancers, whoring after them, I will set my face against that person and will cut him off from among his people.
“I will also turn against those who commit spiritual prostitution by putting their trust in mediums or in those who consult the spirits of the dead. I will cut them off from the community.