Jeremiah 44:12

New American Standard Bible (NASB)
And I will take away the remnant of Judah who have set their [g]mind on entering the land of Egypt to reside there, and they will all [h]meet their end in the land of Egypt; they will fall by the sword and meet their end by famine. Both small and great will die by the sword and famine; and they will become a curse, an object of horror, an imprecation and a reproach.

Read Jeremiah 44:12 in other translations