Swords and spearsare examples of battle weapons. They represent human ways of fighting. Alternate translation: "The victory that Yahweh gives does not depend on sword and spear" or "when Yahweh gives us victory, he does not depend on how we fight" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Winning the battle is spoken of as owning the battle. Alternate translation: "Yahweh always wins the battle" or "the victory belongs to Yahweh" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Giving the Philistines into Israel's hand represents helping Israel to defeat the Philistines in battle. Alternate translation: "he will help us defeat you" (See: [[rc://en/ta/man/translate/figs-metonymy]])