Yahweh has taken vengence for him by defeating his enemies. The meaning of this can be made explicit. Alternate translation: "has taken vengeance for you against your enemies, the Ammonites, by defeating them" (See: [[rc://en/ta/man/translate/figs-explicit]])