When Nebuchadnezzar appointed Zedekiah king in his nephew’s place, God told Jeremiah to put a yoke around his neck and to go stand in front of the palace and give all the emissaries of foreign nations coming to congratulate Zedekiah this message:
God made the earth. God made you. God made Nebuchadnezzar and has decided to give the earth, its animals, and you unto the Babylonian king! So tell your king to accept the yoke of Nebuchadnezzar and serve him or be punished with sword, famine, and exile! However, if you do serve him, your people will get to remain in their lands.
So Jeremiah waylaid the emissaries from Edom, Moab, Ammon, Tyre, and Sidon, and eventually told this to Zedekiah himself.
Then Jeremiah told the priests and people that any prophet who prophesied victory of Babylon and a return of the Temple goods that Nebuchadnezzar had taken was a lying liar who shouldn’t be listed to.