Here "the heritage of the oppressor" is a metaphor representing what will happen to the oppressor. What God will do to him is spoken of as if it were an inheritance that God will give him. AT: "what the Almighty will do to the oppressor" (See: [[rc://en/ta/man/translate/figs-metaphor]])