רַ֞ק עֵ֣ץ אֲשֶׁר־תֵּדַ֗ע כִּֽי־לֹא־עֵ֤ץ מַאֲכָל֙ ה֔וּא אֹת֥וֹ תַשְׁחִ֖ית וְכָרָ֑תָּ וּבָנִ֣יתָ מָצ֗וֹר עַל־הָעִיר֙ אֲשֶׁר־הִ֨וא עֹשָׂ֧ה עִמְּךָ֛ מִלְחָמָ֖ה עַ֥ד רִדְתָּֽהּ׃ (פ)
오직 과목이 아닌 줄로 아는 수목은 작벌하여 너희와 싸우는 그 성읍을 치는 기구를 만들어 그 성읍을 함락시킬 때까지 쓸지니라
Mishneh Torah, Sabbath
We [begin] sieges against idolater cities [at least] three days before the Shabbat. But we make war against them each and every day, and even on Shabbat, until we conquer them – even if it is an optional war. They learned from the oral tradition (on Deut. 20:20), “until it be subjugated” – and even on Shabbat. And there is no need to say [this] regarding a commanded war. And Yehoshua only conquered Jericho on Shabbat.
Mishneh Torah, Kings and Wars
We may besiege a non-Jewish city (even) on Shabbos44Other versions read: “but may not begin within three days before Shabbos” so as not to violate Shabbos. and we may make war with them even on Shabbos, as it says, “until it falls” (Deut. 20:20). We do battle on Shabbos whether it is a War of Mitzvoh or a Discretionary War.