The abstract noun "captivity" can be translated as a verbal clause, and it may be understood as a metaphor for Yahweh making the people prosper in a general sense. See how similar words are translated in [Ezekiel 16:53](../16/53.md). Alternate translation: or "free Jacob from those who had captured him" or "cause Jacob to live well again" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])
The word "house" is a metonym for the family that lives in the house, in this case the Israelites, the descendants of Jacob over many years. See how you translated this in [Ezekiel 3:1](../03/01.md). Alternate translation: "the Israelites" or "the Israelite people group" (See: [[rc://en/ta/man/translate/figs-metonymy]])