Leviticus 19:31 Regard not them that have familiar spirits, neither seek after wizards, to be defiled by them: I am the LORD your God.
More comments from Adam Clarke:
“Neither seek after wizards…..To attempt to know what God has not thought proper to reveal, is a sin against his wisdom, providence, and goodness. In mercy, great mercy, God has hidden the knowledge of futurity from man, and given him hope - the expecation of future good, in its place.”