The writer speaks of Yahweh's anger as if it were a fire, and of Yahweh acting in anger against Jacob as if that fire burned Jacob. AT: "his anger was like a fire that burned Jacob" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The writer speaks of Yahweh punishing Israel when he was angry as if his anger were a person who attacked Israel. AT: "because he was angry, he attacked Israel" (See: [[rc://en/ta/man/translate/figs-personification]])