כִּֽי־תֵצֵ֥א מַחֲנֶ֖ה עַל־אֹיְבֶ֑יךָ וְנִ֨שְׁמַרְתָּ֔ מִכֹּ֖ל דָּבָ֥ר רָֽע׃
Gdy wyruszysz do obozu przeciw wrogom twoim, wystrzegaj się wszelkiej rzeczy szkodliwej.
Kol Dodi Dofek
In man’s world too, an Encampment is created solely from fear. When fateful, choiceless existence terrifies man, the individual grasps the inadequacy of his strength and aligns himself with others for purposes of selfdefense, in order to prevail over a common enemy. The establishment of an Encampment is a stratagem of warfare. Learn what the Torah has taught: “When you shall go out as an encampment against your enemy” (Deuteronomy 23:10, emphasis added). An Encampment is born out of the terror of destruction and loss, from the fear that fate is overwhelming. From the midst of the Encampment, the People arises. In the beginning, the Jews in Egypt were an Encampment. When they were freed by the Holy One, they rose to the level of a nation.
Sefer Yesodei HaTorah
This belief, that the L-rd is in our midst, the Torah was prescient to etch even into the hearts of soldiers going to war outside their land, viz. (Devarim 23:10-15) "When you go out as an encampment against your enemies, then you shall guard yourself against every evil thing … For the L-rd your G-d walks in the midst of your camp, etc." All this (viz. Maimonides, Moreh 3:41) to strengthen in the hearts of the soldiers the belief that the Shechinah reposes among them, so that they not give themselves free rein and cast aside Torah and mussar (and act) in the manner of most soldiers in those days.