Berean Study Bible (BSB) - Deuteronomy 20:20 >

But you may destroy the trees that you know do not produce fruit. Use them to build siege works against the city that is waging war against you, until it falls.

Jewish Publication Society of America Version (JPS1917) - Deuteronomy 20:20 >

Only the trees of which thou knowest that they are not trees for food, them thou mayest destroy and cut down, that thou mayest build bulwarks against the city that maketh war with thee, until it fall.