Deuteronomy 20:19

20:19 When you shall besiege a city a long time, in making war against it to take it, you shall not destroy its trees by wielding an axe against them; for you may eat of them. You shall not cut them down, for is the tree of the field man, that it should be besieged by you?