Jeremiah 27:8

27:8 But suppose a nation or a kingdom will not be subject to King Nebuchadnezzar of Babylon. Suppose it will not submit to the yoke of servitude to him. I, the Lord, affirm that I will punish that nation. I will use the king of Babylon to punish it with war, starvation, and disease until I have destroyed it.

Jeremiah 34:17

34:17 So I, the Lord, say: “You have not really obeyed me and granted freedom to your neighbor and fellow countryman. Therefore, I will grant you freedom, the freedom to die in war, or by starvation or disease. I, the Lord, affirm it! I will make all the kingdoms of the earth horrified at what happens to you.