Devarim / Deuteronomy 20:19
כִּי־תָצוּר אֶל־עִיר יָמִים רַבִּים לְהִלָּחֵם עָלֶיהָ לְתָפְשָׂהּ לֹא־תַשְׁחִית אֶת־עֵצָהּ לִנְדֹּחַ עָלָיו גַּרְזֶן כִּי מִמֶּנּוּ תֹאכֵל וְאֹתוֹ לֹא תִכְרֹת כִּי הָאָדָם עֵץ הַשָּׂדֶה לָבֹא מִפָּנֶיךָ בַּמָּצוֹר׃
When you besiege a city for many days, fighting against it to capture it, you shall not destroy its trees by wielding an axe against them. For you eat from them, and you shall not cut them down. Is the tree of the field a man, that it should go before you into the siege?
Pshat פְּשָׁט
Is the tree a man?
Rashi: "for" here means "is it": is the tree of the field a man, that it should go before you into the siege and suffer hunger like the people of the city? Why destroy it? Ibn Ezra reads it differently: a person's life is the tree of the field, for you eat from it. Sforno: trees are cut down out of spite when there is no hope of winning, but you are sure that you will settle in this land.
How Rashi, Ibn Ezra, and Sforno explain it
Remez רֶמֶז
Mother of all living
The Shelah: in the words "a tree of food" (עֵץ מַאֲכָל) "the mother of all living" (אֵם כָּל חַי) is hidden: the same letters. The tree from which the first man ate brought cutting down, while the tree of food gives life. The numerical value of the letters of "tree" (עֵץ), 160, is built from the letters of the Name of the Eternal. A table with food is like an altar, and one who eats in holiness is like a kohen. Rabbi Nachman of Breslov: strife raises a person, for man is the tree of the field.
How Shnei Luchot HaBrit and Likutei Moharan explain it
Drash דְּרָשׁ
Not learning alone
Ein Yaakov: Rabbi Yochanan reads the verse about the tree as a parable of a sage who studies Torah. If he is worthy, "eat from him, and do not cut him down". If not, "destroy him and cut him down". Then the sages explain why Torah cannot be learned alone: iron sharpens iron, fire does not burn alone, a small log kindles a large one. Rabbi Chanina: I learned most of all from my students.
How Ein Yaakov explain it
Sod סוֹד
A clear mind in the middle of war
Mei HaShiloach: a house is rest, a road is turmoil. King David asked to live always in rest. And here the Torah teaches: even in the middle of war and anger, let a person keep a clear mind, so as not to spoil what can be of use, even a little. This is the virtue of Israel: even in anger they look for the good point in every thing.
How Mei HaShiloach explain it