Deuteronomy 20:20

20 But you may destroy the trees that you know do not produce food. You may cut them down to build siege works against the city that is waging war with you, until it falls.

Deuteronomy 20:20 Meaning and Commentary

Deuteronomy 20:20

Only the trees which thou knowest that they be not trees for
meat Which might be known not only by their not having fruit upon
them, but by other tokens, and even at a time of year when there was no fruit on any, which might be sometimes the season of a siege:

thou shalt destroy and cut them down;
if so to do was of any disservice to the enemy, or of any service to them, as follows; they had a liberty to destroy them if they would:

and thou shall build bulwarks against the city that maketh war, until
it be subdued;
build bulwarks of the trees cut down, and raise batteries with them, or make machines and engines of the wood of them, to cast stones into the city to annoy the inhabitants of it, in order to make them surrender, and until they do it. All this may be an emblem of the axe being to be laid to fruitless trees in a moral and spiritual sense; and of trees of righteousness, laden with the fruits of righteousness, the planting of the Lord, being preserved and never to be cut down or rooted up; see ( Matthew 3:10 ) ( Isaiah 60:3 ) ( Matthew 15:13 ) .

Deuteronomy 20:20 In-Context

18 so that they won't teach you to do all the detestable things they do for their gods, and you sin against the Lord your God.
19 "When you lay siege to a city for a long time, fighting against it in order to capture it, you must not destroy its trees by putting an ax to them, because you can get food from them. You must not cut them down. Are trees of the field human, to come under siege by you?
20 But you may destroy the trees that you know do not produce food. You may cut them down to build siege works against the city that is waging war with you, until it falls.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.