When you lay siege to a city for a long time, fighting against it to capture it, do not destroy its trees by putting an ax to them, because you can eat their fruit. Do not cut them down. Are the trees people, that you should besiege them? (NIV)
When you besiege a city for a long time, making war against it to take it, you shall not destroy its trees by using an ax on them, for you can eat their fruit; you must not cut them down, for is the tree of the field a man, that it should be besieged by you? (AMP)
When thou shalt besiege a city a long time, in making war against it to take it, thou shalt not destroy the trees thereof by forcing an axe against them: for thou mayest eat of them, and thou shalt not cut them down (for the tree of the field is man's life) to employ them in the siege: (KJV)