The Scriptures, which address some of these practices, are as follows:
Deuteronomy 18:9-13 When thou art come into the land which the LORD thy God giveth thee, thou shalt not learn to do after the abominations of those nations. There shall not be found among you any one that maketh his son or his daughter to pass through the fire, or that useth divination, or an observer of times, or an enchanter, or a witch, Or a charmer, or a consulter with familiar spirits, or a wizard, or a necromancer. For all that do these things are an abomination unto the LORD: and because of these abominations the LORD thy God doth drive them out from before thee. Thou shalt be perfect with the LORD thy God.
Isaiah 8:19, 20 And when they shall say unto you, Seek unto them that have familiar spirits, and unto wizards that peep, and that mutter: should not a people seek unto their God? for the living to the dead? To the law and to the testimony: if they speak not according to this word, it is because there is no light in them.
Daniel 2:27, 28a Daniel answered in the presence of the king, and said, The secret which the king hath demanded cannot the wise men, the astrologers, the magicians, the soothsayers, show unto the king; But there is a God in heaven that revealeth secrets, and maketh known to the king Nebuchadnezzar what shall be in the latter days.
Though Daniel was the head wise man he did not rely on what the other wise men relied on for the ability to give counsel. He relied on God. As well did his three friends: Shadrach, Meshach, and Abednego.
King Saul on the other hand sought out a medium when he could no longer obtain an answer from God for his inquires on what to do. The account of it is recorded in I Samuel 28:3-19; 31:13, 14 and I Chronicles 10:13, 14.
I Chronicles 10:13,14 So Saul died for his transgression which he committed against the LORD, even against the word of the LORD, which he kept not, and also for asking counsel of one that had a familiar spirit, to inquire of it; And inquired not of the LORD: therefore he slew him, and turned the kingdom unto David the son of Jesse.
Now these things were our examples, to the intent we should not lust after evil things, as they also lusted. Neither be ye idolaters, as were some of them; as it is written, The people sat down to eat and drink, and rose up to play. Neither let us commit fornication, as some of them committed, and fell in one day three and twenty thousand. Neither let us tempt Christ, as some of them also tempted, and were destroyed of serpents. Neither murmur ye, as some of them also murmured, and were destroyed of the destroyer. Now all these things happened unto them for ensamples: and they are written for our admonition, upon whom the ends of the world are come. Wherefore let him that thinketh he standeth take heed lest he fall (I Cor.10:6-12).