Deuteronomy 18:7
Then he shall minister in the name of the LORD his God, as all his brethren the Levites do, which stand there before the LORD. Then he shall minister in the name of the LORD his God, as all his brethren the Levites do, which stand there before the LORD.
The verse describes a Levite who comes to minister in the name of the Lord his God together with his fellow Levites who stand there before the Lord. It stands in a chapter containing special instructions and laws for Israel, including directions about worship and government.
That chapter shows that witchcraft was universal among the nations that God drove out before Israel, nations sunk in heathen darkness and abominable licentiousness. That witchcraft rested as its basis on the doctrine of the soul's consciousness in death, also expressed as the soul's immortality. Upon that doctrine witchcraft appeared as necromancy, meaning divining by means of the dead, enchantment, meaning making things that have no existence seem real, and dealing with familiar spirits, meaning pretended communion with the dead.
The chapter warns Israel against necromancy and attempts to communicate with the dead, calling these practices an abomination, and that warning applies today as well. The chapter, especially verses 9-14, when read with Leviticus 18:24-30, shows the morals that attend the practice of witchcraft. The chapter is also connected with the warning that prophets who lead people away from God's law are false, and the law is the standard by which prophets are tested.