Jeremiah 42:16-22

16 then the sword that you fear shall overtake you there, in the land of Egypt; and the famine that you dread shall follow close after you into Egypt; and there you shall die.
17 All the people who have determined to go to Egypt to settle there shall die by the sword, by famine, and by pestilence; they shall have no remnant or survivor from the disaster that I am bringing upon them.
18 "For thus says the Lord of hosts, the God of Israel: Just as my anger and my wrath were poured out on the inhabitants of Jerusalem, so my wrath will be poured out on you when you go to Egypt. You shall become an object of execration and horror, of cursing and ridicule. You shall see this place no more.
19 The Lord has said to you, O remnant of Judah, Do not go to Egypt. Be well aware that I have warned you today
20 that you have made a fatal mistake. For you yourselves sent me to the Lord your God, saying, "Pray for us to the Lord our God, and whatever the Lord our God says, tell us and we will do it.'
21 So I have told you today, but you have not obeyed the voice of the Lord your God in anything that he sent me to tell you.
22 Be well aware, then, that you shall die by the sword, by famine, and by pestilence in the place where you desire to go and settle."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.