Then the word of the LORD came to Jeremiah the prophet:
“This is what the LORD, the God of Israel, says: Tell the king of Judah, who sent you to inquire of me, ‘Pharaoh’s army, which has marched out to support you, will go back to its own land, to Egypt.
Then the Babylonians will return and attack this city; they will capture it and burn it down.’
“This is what the LORD says: Do not deceive yourselves, thinking, ‘The Babylonians will surely leave us.’ They will not!
Even if you were to defeat the entire Babylonian army that is attacking you and only wounded men were left in their tents, they would come out and burn this city down.”
After the Babylonian army had withdrawn from Jerusalem because of Pharaoh’s army,
Jeremiah started to leave the city to go to the territory of Benjamin to get his share of the property among the people there.
But when he reached the Benjamin Gate, the captain of the guard, whose name was Irijah son of Shelemiah, the son of Hananiah, arrested him and said, “You are deserting to the Babylonians!”
“That’s not true!” Jeremiah said. “I am not deserting to the Babylonians.” But Irijah would not listen to him; instead, he arrested Jeremiah and brought him to the officials.
They were angry with Jeremiah and had him beaten and imprisoned in the house of Jonathan the secretary, which they had made into a prison.
Jeremiah was put into a vaulted cell in a dungeon, where he remained a long time.