Jeremiah 29:8-9

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. 29:9 They are prophesying lies to you and claiming my authority to do so. But I did not send them. I, the Lord, affirm it!’

Jeremiah 29:31

29:31 “Send a message to all the exiles in Babylon. Tell them, ‘The Lord has spoken about Shemaiah the Nehelamite. “Shemaiah has spoken to you as a prophet even though I did not send him. He is making you trust in a lie.