If a malicious witness takes the stand to accuse a man of a crime,
the two men involved in the dispute must stand in the presence of the LORD before the priests and the judges who are in office at the time.
The judges must make a thorough investigation, and if the witness proves to be a liar, giving false testimony against his brother,
then do to him as he intended to do to his brother. You must purge the evil from among you.
The rest of the people will hear of this and be afraid, and never again will such an evil thing be done among you.
Show no pity: life for life, eye for eye, tooth for tooth, hand for hand, foot for foot.
When you go to war against your enemies and see horses and chariots and an army greater than yours, do not be afraid of them, because the LORD your God, who brought you up out of Egypt, will be with you.
When you are about to go into battle, the priest shall come forward and address the army.
He shall say: "Hear, O Israel, today you are going into battle against your enemies. Do not be fainthearted or afraid; do not be terrified or give way to panic before 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 shall say to the army: "Has anyone built a new house and not dedicated it? Let him go home, or he may die in battle and someone else may dedicate it.
Has anyone planted a vineyard and not begun to enjoy it? Let him go home, or he may die in battle and someone else enjoy it.
Has anyone become pledged to a woman and not married her? Let him go home, or he may die in battle and someone else marry her."
Then the officers shall add, "Is any man afraid or fainthearted? Let him go home so that his brothers will not become disheartened too."
When the officers have finished speaking to the army, they shall appoint commanders over it.
When you march up to attack a city, make its people an offer of peace.
If they accept and open their gates, all the people in it shall be subject to forced labor and shall work for you.
If they refuse to make peace and they engage you in battle, lay siege to that city.
When the LORD your God delivers it into your hand, put to the sword all the men in it.
As for the women, the children, the livestock and everything else in the city, you may take these as plunder for yourselves. And you may use the plunder the LORD your God gives you from your enemies.
This is how you are to treat all the cities that are at a distance from you and do not belong to the nations nearby.
However, in the cities of the nations the LORD your God is giving you as an inheritance, do not leave alive anything that breathes.
Completely destroy them--the Hittites, Amorites, Canaanites, Perizzites, Hivites and Jebusites--as the LORD your God has commanded you.
Otherwise, they will teach you to follow all the detestable things they do in worshiping their gods, and you will sin against the LORD your God.
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 of the field people, that you should besiege them?
However, you may cut down trees that you know are not fruit trees and use them to build siege works until the city at war with you falls.
If a man is found slain, lying in a field in the land the LORD your God is giving you to possess, and it is not known who killed him,
your elders and judges shall go out and measure the distance from the body to the neighboring towns.
Then the elders of the town nearest the body shall take a heifer that has never been worked and has never worn a yoke
and lead her down to a valley that has not been plowed or planted and where there is a flowing stream. There in the valley they are to break the heifer's neck.
The priests, the sons of Levi, shall step forward, for the LORD your God has chosen them to minister and to pronounce blessings in the name of the LORD and to decide all cases of dispute and assault.
Then all the elders of the town nearest the body shall wash their hands over the heifer whose neck was broken in the valley,
and they shall declare: "Our hands did not shed this blood, nor did our eyes see it done.
Accept this atonement for your people Israel, whom you have redeemed, O LORD, and do not hold your people guilty of the blood of an innocent man." And the bloodshed will be atoned for.
So you will purge from yourselves the guilt of shedding innocent blood, since you have done what is right in the eyes of the LORD.
When you go to war against your enemies and the LORD your God delivers them into your hands and you take captives,
if you notice among the captives a beautiful woman and are attracted to her, you may take her as your wife.
Bring her into your home and have her shave her head, trim her nails
and put aside the clothes she was wearing when captured. After she has lived in your house and mourned her father and mother for a full month, then you may go to her and be her husband and she shall be your wife.
If you are not pleased with her, let her go wherever she wishes. You must not sell her or treat her as a slave, since you have dishonored her.