Then Jeremiah said to all the people, including the women, “Hear the word of the LORD, all you people of Judah in Egypt. This is what the LORD Almighty, the God of Israel, says: You and your wives have done what you said you would do when you promised, ‘We will certainly carry out the vows we made to burn incense and pour out drink offerings to the Queen of Heaven.’
“Go ahead then, do what you promised! Keep your vows! But hear the word of the LORD, all you Jews living in Egypt: ‘I swear by my great name,’ says the LORD, ‘that no one living anywhere in Egypt will ever again invoke my name or swear, “As surely as the Sovereign LORD lives.” For I am watching over them for harm, not for good; the Jews in Egypt will perish by sword and famine until they are all destroyed. Those who escape the sword and return to the land of Judah from Egypt will be very few. Then the whole remnant of Judah who came to live in Egypt will know whose word will stand – mine or theirs.
– Jeremiah 44:24-28
It’s helpful to read the previous chapters to put these verses into perspective.