Jeremiah 27:9

27:9 So do not listen to your prophets or to those who claim to predict the future by divination, by dreams, by consulting the dead, or by practicing magic. They keep telling you, ‘You do not need to be subject to the king of Babylon.’

Jeremiah 29:8

29:8 “For the Lord God of Israel who rules over all says, ‘Do not let the prophets or those among you who claim to be able to predict the future by divination deceive you. And do not pay any attention to the dreams that you are encouraging them to dream.