<b>When you go out to war, etc. (Deuteronomy 20:1):</b> What is written above the matter? "And the judges shall make a thorough investigation" (Deuteronomy 19:18). From when the judges execute judgement, you [can] go out to war and you will be victorious. And so did David state (Psalms 119:121), "I have done justice and righteousness; do not abandon me to those who would wrong me." And it is [also] written (Psalms 119:122), "Guarantee Your servant’s well-being; do not let the arrogant wrong me." So too is the Holy One, blessed be He, only brought up in the world through judgement, as it is stated (Isaiah 5:16), "And the Lord of hosts is exalted by justice." Rabban Shimon ben Gamliel says (Avot 1:18), "On three things the world stands: On justice, on truth and on peace, as it is said (Zachariah 8:16), 'Judge truth and the justice of peace in your gates.'" Rabbi Yehoshua ben Levi said, "And all of [these things] are dependent upon judgement, as through judgement is peace and truth established." Therefore when Israel is executing judgement, the Holy One, blessed be He, brings down their enemies in front of them, as it is stated (Psalms 81:14-15), "If only My people listens to Me, etc. Quickly I would subdue their enemies, etc." And what are the ways of the Holy One, blessed be He? Righteousness and justice, as it is stated (Genesis 18:19), "and they shall keep the way of the Lord by doing righteousness and justice." Therefore, it is written in the section of judges (Deuteronomy 16:18), "and they shall judge the people with righteous justice"; and afterwards, "When you go to war against your enemies." What is [the meaning of] "against your enemies?" The Holy One, blessed be He, said, "Go forth against them like enemies: In the way that they do not have mercy upon you, so [too], do not have mercy upon them. See what they say: 'Let us wipe them out as a nation; Israel’s name will be mentioned no more.' [It is] that same name that I say (Psalms 106:48), 'Blessed is the Lord (the Name), the Lord of Israel.' Therefore go forth against them like enemies." Israel said, "Master of the world, until when will they stand against us," as it is stated (Psalms 86:14), "O God, arrogant men have risen against me; a band of ruthless men seek my life." He said [back] to them, "Not only against you have they risen, but also against Me, as it is stated (Psalms 2:2), 'Kings of the earth take their stand, and regents intrigue together against the Lord and against His anointed.' Rather see how they are enemies." Therefore, it is written, "When you go out to war against your enemies."