You can make explicit the implicit meaning of this statement. Alternate translation: "foreign gods whose images they possessed" (See: [[rc://en/ta/man/translate/figs-explicit]])
Here Israel refers to the people of Israel. Alternate translation: "And Yahweh did not want the people of Israel to suffer any longer" (See: [[rc://en/ta/man/translate/figs-metonymy]])