Jeremiah 34:7

7 while the king of Babylon's army was attacking Jerusalem and all of Judah's remaining cities-against Lachish[a] and Azekah,[b] for only they were left among Judah's fortified cities.

Jeremiah 34:7 In-Context

5 you will die peacefully. There will be a burning ceremony for you just like the burning ceremonies for your fathers, the former kings who preceded you. Alas, lord! will be the lament for you, for I have spoken [this] word." [This is] the Lord's declaration.
6 So Jeremiah the prophet related all these words to Zedekiah king of Judah in Jerusalem
7 while the king of Babylon's army was attacking Jerusalem and all of Judah's remaining cities-against Lachish and Azekah, for only they were left among Judah's fortified cities.
8 [This is] the word that came to Jeremiah from the Lord after King Zedekiah made a covenant with all the people who were in Jerusalem to proclaim freedom to them,
9 so each man would free his male and female Hebrew slaves and no one enslave his Judean brother.

Footnotes 2

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.