Devarim / Deuteronomy 21:10 · Remez
כִּי־תֵצֵא לַמִּלְחָמָה עַל־אֹיְבֶיךָ וּנְתָנוֹ יְהוָה אֱלֹהֶיךָ בְּיָדֶךָ וְשָׁבִיתָ שִׁבְיוֹ׃
When you go out to war against your enemies, and the Eternal your Almighty gives him into your hand, and you take captives from him,
Remez רֶמֶז
The tent and the battlefield
While you are at home, much comes easily. Step over the threshold and the tests begin. The masters hear this in the very choice of a word.
Kitzur Ba'al HaTurim explains why the law of the unsolved killing stands between two wars, and finds in the word "captives" (שִׁבְיוֹ) the numerical value of words about Canaanites. Agra DeKala: it says "go out," not "go" — the war begins when a person leaves the tent of Torah.
How Kitzur Ba'al HaTurim and Agra DeKala explain it
Kitzur Ba'al HaTurim When you go out
Why is the passage of the heifer whose neck is broken (עֶגְלָה עֲרוּפָה) written between two wars? A war is written before it, so that a hater will not say: "I will kill him, since it is a time of war," and the enemies will say: "He was killed in the war." And a war is written after it, to say: first root out the innocent blood and execute the killer, and then go to war and you will win. And they did not let two haters go out to war together, lest they kill each other in the war.
Kitzur Ba'al HaTurim His captives (שִׁבְיוֹ)
Its numerical value (גִּימַטְרִיָּה) equals "and if they are Canaanites" (וְאִם יִהְיוּ כְּנַעֲנִים).
Agra DeKala When you go out to war against your enemy (Devarim / Deuteronomy 21:10)
It should have said "when you go" (כִּי תֵלֵךְ). It seems the Torah hints: as soon as a person goes out (תֵצֵא) of his tent, the tent of Torah, he is at once set for war with his enemies. These are the accusers and opponents. For as long as a person sits in the tent of Torah, in the four cubits of law (הֲלָכָה), and fixes a set place for his Torah, his enemies fall beneath him (Berakhot 7b).
Takeaway
The heifer whose neck is broken (עֶגְלָה עֲרוּפָה) is the rite for a slain person found in a field when the killer is unknown (Devarim / Deuteronomy 21:1–9). That passage stands between the laws of war (chapter 20) and our verse.
"Root out the innocent blood" is from the end of that passage (Devarim / Deuteronomy 21:9).
שִׁבְיוֹ ("his captives"): ש 300 + ב 2 + י 10 + ו 6 = 318. וְאִם יִהְיוּ כְּנַעֲנִים ("and if they are Canaanites"): 47 + 31 + 240 = 318. The count is checked.
The hint echoes Sifrei: "and you take captives from him" includes Canaanites found among the enemy (Sifrei Devarim 211).
תֵלֵךְ ("you go") speaks of a road, תֵצֵא ("you go out") of leaving the place one was in. Agra DeKala hears in the second word leaving the tent of Torah.
"The four cubits of law" is the Talmud's phrase: since the Temple was destroyed, the Almighty has in the world only the place where law is studied (Berakhot 8a).