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