Jeremiah.
Chapter 37.
Nebuchadnezzar king of Babylon replaced Jehoiachin son of Jehoiakim with Zedekiah son of Josiah as the ruling king of Judah. 
But Zedekiah and his officers and everyone else in the country refused to obey what the Lord had said through Jeremiah the prophet. 
However, King Zedekiah sent Jehucal son of Shelemiah and Zephaniah the priest, son of Maaseiah, to Jeremiah the prophet with the message, “Please pray to the Lord our God for us!” 
(At this time Jeremiah could come and go freely, because as yet they hadn't put him in prison.) 
Pharaoh's army was advancing from Egypt, and when the Babylonian army heard about it, they moved away from Jerusalem. 
Then a message from the Lord came to Jeremiah the prophet: 
This is what the Lord, the God of Israel, instructs you to tell the king of Judah, who sent you to ask me for help: Look! Pharaoh's army, which set out to help you, is going to return home to Egypt. 
Then the Babylonians will return and attack Jerusalem. They will capture it and burn it down. 
This is what the Lord says: Don't fool yourselves by saying, “The Babylonians are gone for good,” because they're not! 
In fact, even if you were able to kill the whole Babylonian army attacking you, leaving only wounded men in their tents, they would still get up and burn this city down. 
When the Babylonian army moved away from Jerusalem because of the threat of Pharaoh's army, 
Jeremiah was on his way out of Jerusalem to go to his home in the territory of Benjamin to claim his share of his family's property. 
However, when he reached the Benjamin Gate, the guard captain, whose name was Irijah son of Shelemiah, son of Hananiah, arrested him, saying, “You're defecting to the Babylonians!” 
“That's not true,” Jeremiah replied. “I'm not defecting to the Babylonians!” But Irijah refused to listen to him. He arrested Jeremiah and took him before the officers. 
The officers were furious with Jeremiah. They had him beaten and locked up in the house of Jonathan the scribe, which had been turned into a prison. 
Jeremiah was placed in a cell in the underground dungeon and was kept there for a long time. 
Some while later King Zedekiah secretly sent for him and had him brought to the royal palace where he asked, “Is there a message from the Lord for me?” “Yes there is,” Jeremiah replied. “You are going to be handed over to the king of Babylon.” 
Then Jeremiah asked King Zedekiah, “What wrong have I done to you or your servants or these people, for you to put me in prison? 
Where are your prophets now, the ones who prophesied to you, saying, ‘The king of Babylon won't come and attack you and this country’? 
Now please listen to me, my lord the king, and respond positively to my request. Don't send me back to prison in the house of Jonathan the scribe, otherwise I'll die there.” 
King Zedekiah gave the order for Jeremiah to be held in the guard's courtyard and be provided with a loaf of bread every day from a bakery until there was no bread left in the city. So Jeremiah stayed in the guard's courtyard. 
