Pharaoh's army had marched out of Egypt,1 and when the Babylonians who were besieging Jerusalem heard the report about them, they withdrew2 from Jerusalem.3
References for Jeremiah 37:5
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 inquire4 of me, 'Pharaoh's army, which has marched5 out to support you, will go back to its own land, to Egypt.6
References for Jeremiah 37:7
Then the Babylonians will return and attack this city; they will capture7 it and burn8 it down.'
References for Jeremiah 37:8