Jeremiah 42:18-22 New International Version (NIV)

18. This is what the Lord Almighty, the God of Israel, says: ‘As my anger and wrath have been poured out on those who lived in Jerusalem, so will my wrath be poured out on you when you go to Egypt. You will be a curse and an object of horror, a curse and an object of reproach; you will never see this place again.’

19. “Remnant of Judah, the Lord has told you, ‘Do not go to Egypt.’ Be sure of this: I warn you today

20. that you made a fatal mistake when you sent me to the Lord your God and said, ‘Pray to the Lord our God for us; tell us everything he says and we will do it.’

21. I have told you today, but you still have not obeyed the Lord your God in all he sent me to tell you.

22. So now, be sure of this: You will die by the sword, famine and plague in the place where you want to go to settle.”

Jeremiah 42