This means that Yahweh caused some of the enemy soldiers to ambush other enemy soldiers. Alternate translation: "Yahweh set some enemy soldiers" (See: [[rc://en/ta/man/jit/figs-explicit]])
This can be stated in active form. Alternate translation: "They defeated them" or "They defeated those they had ambushed" (See: [[rc://en/ta/man/jit/figs-activepassive]])