1שהזהירנו מהשחית האילנות כשנצור על עיר כדי להצר לאנשיה ולהכאיב לבם. הוא אמרו יתעלה לא תשחית את עצה, וכן כל הפסד נכנס תחת לאו זה כגון מי שישרוף בגד לריק או ישבור כלי גם כן עובר משום לא תשחית ולוקה, ואמר אזהרתה מהכא כי ממנו תאכל ואותו לא תכרות. וכבר נתבארו מפשטי מצוה זו בבבא קמא ובבא בתרא. (שופטים ושוטרים, שם):
That when we go to besiege a city, He prohibited us from destroying trees in order to distress its people and sadden their hearts. And that is His, may He be exalted, saying, "you must not destroy its trees" (Deuteronomy 20:19). And likewise does any waste come under this prohibition - such as one who burns up a garment for nothing or breaks a vessel. He also transgresses on account of, "you must not destroy," and is lashed. And [they] said (Makkot 22a), "And its prohibition is from here - 'for from it shall you eat, but it shall you not cut down.'" And the regulations of this commandment have already been explained in [Chapter 2 of] Bava Batra. (See Parashat Shoftim; Mishneh Torah, Kings and Wars 6.)
The Rambam's count of the 613 mitzvos. English: Rabbi Francis Nataf, Sefaria 2021 (CC-BY). Hebrew: Warsaw 1883. Via Sefaria. All the library · Jer’s Torah Page