The Lord spoke to me when King Nebuchadnezzar of Babylonia and his army, supported by troops from all the nations and races that were subject to him, were attacking Jerusalem and its nearby towns. 1
References for Jeremiah 34:1
34.1 2 K 25.1-11; 2 Ch 36.17-21.
The Lord, the God of Israel, told me to go and say to King Zedekiah of Judah, "I, the Lord, will hand this city over to the king of Babylonia, and he will burn it down.
You will not escape; you will be captured and handed over to him. You will see him face-to-face and talk to him in person; then you will go to Babylonia.
Zedekiah, listen to what I say about you. You will not be killed in battle.
You will die in peace, and as people burned incense when they buried your ancestors, who were kings before you, in the same way they will burn incense for you. They will mourn over you and say, "Our king is dead!' I, the Lord, have spoken."
Then I gave this message to King Zedekiah in Jerusalem
while the army of the king of Babylonia was attacking the city. The army was also attacking Lachish and Azekah, the only other fortified cities left in Judah.