“When you go out to war against your enemies and see horses, chariots, and an army larger than yours, do not be afraid of them, for the LORD your God, who brought you out of the land of Egypt, is with you.
“When you are about to engage in battle, the priest is to come forward and address the army.
“He is to say to them, ‘Listen, Israel: Today you are about to engage in battle with your enemies. Do not be cowardly. Do not be afraid, alarmed, or terrified because of them.
“For the LORD your God is the one who goes with you to fight for you against your enemies to give you victory.’
“The officers are to address the army, ‘Has any man built a new house and not dedicated it? Let him leave and return home. Otherwise, he may die in battle and another man dedicate it.
“Has any man become engaged to a woman and not married her? Let him leave and return home. Otherwise he may die in battle and another man marry her.’
“When the officers have finished addressing the army, they will appoint military commanders to lead it.
“If it accepts your offer of peace and opens its gates to you, all the people found in it will become forced laborers for you and serve you.
“However, if it does not make peace with you but wages war against you, lay siege to it.
“When the LORD your God hands it over to you, strike down all its males with the sword.
“But you may take the women, dependents, animals, and whatever else is in the city — all its spoil — as plunder. You may enjoy the spoil of your enemies that the LORD your God has given you.
“This is how you are to treat all the cities that are far away from you and are not among the cities of these nations.
“However, you must not let any living thing survive among the cities of these people the LORD your God is giving you as an inheritance.
“You must completely destroy them — the Hethite, Amorite, Canaanite, Perizzite, Hivite, and Jebusite — as the LORD your God has commanded you,
“so that they won’t teach you to do all the detestable acts they do for their gods, and you sin against the LORD your God.
“When you lay siege to a city for a long time, fighting against it in order to capture it, do not destroy its trees by putting an ax to them, because you can get food from them. Do not cut them down. Are trees of the field human, to come under siege by you?
Christian Standard Bible®, Copyright © 2017, 2020 by Holman Bible Publishers.
Additional information is provided here.
For more information on this translation, see the CSB Preface.