Jeremiah 42:15-18

42:15 If you people who remain in Judah do that, then listen to what the Lord says. The Lord God of Israel who rules over all says, ‘If you are so determined to go to Egypt that you go and settle there, 42:16 the wars you fear will catch up with you there in the land of Egypt. The starvation you are worried about will follow you there to Egypt. You will die there. 42:17 All the people who are determined to go and settle in Egypt will die from war, starvation, or disease. No one will survive or escape the disaster I will bring on them.’ 42:18 For the Lord God of Israel who rules over all says, ‘If you go to Egypt, I will pour out my wrath on you just as I poured out my anger and wrath on the citizens of Jerusalem. You will become an object of horror and ridicule, an example of those who have been cursed and that people use in pronouncing a curse. You will never see this place again.’

Jeremiah 42:22

42:22 So now be very sure of this: You will die from war, starvation, or disease in the place where you want to go and live.”