The abstract noun "captivity" can be translated as a verbal clause. See how you translated similar words in [Jeremiah 29:14](../29/14.md). Alternate translation: "free Israel and Judah from those who had captured them" or "I will free Israel and Judah from their captivity" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])