Witchcraft is a work of the flesh, and God views it like He views adultery and murder. As such, it should have no place in the life of a believer.
Seeking counsel or instruction from spirits or from the deceased is a wicked practice and demands God's righteous judgment.