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.
God expects His people to avoid unholy practices (i.e., divination, observing of times, witchcraft, wizardry, necromancing) that ensnare the world.