Jeremiah 27:12

12To aZedekiah king of Judah I spoke in like manner: bBring your necks under the yoke of the king of Babylon, and cserve him and his people and live.

Jeremiah 28:10-14

10Then the prophet Hananiah took the dyoke-bars from the neck of Jeremiah the prophet and broke them. 11And Hananiah spoke in the presence of all the people, saying, eThus says the Lord: fEven so will I break the yoke of Nebuchadnezzar king of Babylon from the neck of gall the nations within two years.” But Jeremiah the prophet went his way.

12Sometime after the prophet hHananiah had broken the yoke-bars from off the neck of Jeremiah the prophet, the word of the Lord came to Jeremiah: 13Go, tell Hananiah, ‘Thus says the Lord: You have broken wooden bars, but you have made in their place bars of iron. 14For thus says the Lord of hosts, the God of Israel: I have put upon the neck of all these nations ian iron yoke to serve Nebuchadnezzar king of Babylon, jand they shall serve him, kfor I have given to him even the beasts of the field.’”
Copyright information for ESV