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 43:2

43:2 Then Azariah son of Hoshaiah, Johanan son of Kareah, and other arrogant men said to Jeremiah, “You are telling a lie! The Lord our God did not send you to tell us, ‘You must not go to Egypt and settle there.’