JeremiahChapter 39

In the ninth year of Zedekiah king of Judah, in the tenth month, Nebuchadnezzar king of Babylon came with his entire army against Jerusalem and laid siege to it.
In the eleventh year of Zedekiah, in the fourth month, on the ninth day of the month, the city was broken open.
Then all the officers of the king of Babylon came in and took their seats in the Middle Gate: Nergal-sharezer, Samgar-nebo, Sarsechim the chief officer, Nergal-sharezer the chief adviser, and all the rest of the officers of the king of Babylon.
When Zedekiah king of Judah and all the soldiers saw them, they fled, slipping out of the city by night through the king's garden, by the gate between the two walls, and headed toward the Arabah.
But the Chaldean army pursued them and overtook Zedekiah in the plains of Jericho. They seized him and brought him up to Nebuchadnezzar king of Babylon at Riblah in the land of Hamath, where he passed sentence on him.
At Riblah the king of Babylon slaughtered the sons of Zedekiah before his eyes, and he slaughtered all the nobles of Judah as well.
Then he put out Zedekiah's eyes and bound him in bronze shackles to take him to Babylon.
The Chaldeans burned down the king's palace and the houses of the people, and they tore down the walls of Jerusalem.
Nebuzaradan, the captain of the guard, carried off to Babylon the rest of the people left in the city, along with those who had deserted to him, and the rest of the people who remained.
But Nebuzaradan, the captain of the guard, left behind in the land of Judah some of the poorest of the people, who owned nothing, and on that day he gave them vineyards and fields.
Now Nebuchadnezzar king of Babylon had given orders concerning Jeremiah through Nebuzaradan, the captain of the guard:
"Take him and look after him. Do him no harm, but do for him whatever he tells you."
So Nebuzaradan the captain of the guard, Nebushazban the chief officer, Nergal-sharezer the chief adviser, and all the chief officers of the king of Babylon sent word,
and they had Jeremiah brought from the courtyard of the guard and handed him over to Gedaliah son of Ahikam, son of Shaphan, to take him home. So he lived among the people.
While Jeremiah was still confined in the courtyard of the guard, the word of the LORD came to him:
"Go and say to Ebed-melech the Cushite: This is what the LORD of hosts, the God of Israel, says: I am about to bring my words against this city—for disaster and not for good—and on that day they will come to pass before your eyes.
But I will rescue you on that day, declares the LORD, and you will not be handed over to the men you dread.
I will surely deliver you; you will not fall by the sword. You will escape with your life, because you have trusted in me, declares the LORD."