Deuteronomy 18-21 (ESV)
Provision for Priests and Levites
18:1 “The Levitical priests, all the tribe of Levi, shall have no portion or inheritance with Israel. They shall eat the Lord‘s food offerings  as their  inheritance. 2 They shall have no inheritance among their brothers; the Lord is their inheritance, as he promised them. 3 And this shall be the priests’ due from the people, from those offering a sacrifice, whether an ox or a sheep: they shall give to the priest the shoulder and the two cheeks and the stomach. 4 The firstfruits of your grain, of your wine and of your oil, and the first fleece of your sheep, you shall give him. 5 For the Lordyour God has chosen him out of all your tribes to stand and minister in the name of the Lord, him and his sons for all time.
6 “And if a Levite comes from any of your towns out of all Israel, where he lives—and he may come when he desires —to the place that theLord will choose, 7 and ministers in the name of the Lord his God, like all his fellow Levites who stand to minister there before the Lord, 8 then he may have equal portions to eat, besides what he receives from the sale of his patrimony. 
9 “When you come into the land that the Lord your God is giving you, you shall not learn to follow the abominable practices of those nations.10 There shall not be found among you anyone who burns his son or his daughter as an offering,  anyone who practices divination or tells fortunes or interprets omens, or a sorcerer 11 or a charmer or a medium or a necromancer or one who inquires of the dead, 12 for whoever does these things is an abomination to the Lord. And because of these abominations the Lord your God is driving them out before you. 13 You shall be blameless before the Lord your God, 14 for these nations, which you are about to dispossess, listen to fortune-tellers and to diviners. But as for you, the Lordyour God has not allowed you to do this.
A New Prophet like Moses
15 “The Lord your God will raise up for you a prophet like me from among you, from your brothers—it is to him you shall listen— 16 just as you desired of the Lord your God at Horeb on the day of the assembly, when you said, ‘Let me not hear again the voice of the Lord my God or see this great fire any more, lest I die.’ 17 And the Lord said to me, ‘They are right in what they have spoken. 18 I will raise up for them a prophet like you from among their brothers. And I will put my words in his mouth, and he shall speak to them all that I command him. 19 And whoever will not listen to my words that he shall speak in my name, I myself will require it of him. 20 But the prophet who presumes to speak a word in my name that I have not commanded him to speak, or  who speaks in the name of other gods, that same prophet shall die.’ 21 And if you say in your heart, ‘How may we know the word that the Lord has not spoken?’— 22 when a prophet speaks in the name of the Lord, if the word does not come to pass or come true, that is a word that the Lord has not spoken; the prophet has spoken it presumptuously. You need not be afraid of him.
Laws Concerning Cities of Refuge
19:1 “When the Lord your God cuts off the nations whose land the Lord your God is giving you, and you dispossess them and dwell in their cities and in their houses, 2 you shall set apart three cities for yourselves in the land that the Lord your God is giving you to possess. 3 You shall measure the distances  and divide into three parts the area of the land that the Lord your God gives you as a possession, so that any manslayer can flee to them.
4 “This is the provision for the manslayer, who by fleeing there may save his life. If anyone kills his neighbor unintentionally without having hated him in the past— 5 as when someone goes into the forest with his neighbor to cut wood, and his hand swings the axe to cut down a tree, and the head slips from the handle and strikes his neighbor so that he dies—he may flee to one of these cities and live, 6 lest the avenger of blood in hot anger pursue the manslayer and overtake him, because the way is long, and strike him fatally, though the man did not deserve to die, since he had not hated his neighbor in the past. 7 Therefore I command you, You shall set apart three cities. 8 And if the Lord your God enlarges your territory, as he has sworn to your fathers, and gives you all the land that he promised to give to your fathers— 9 provided you are careful to keep all this commandment, which I command you today, by loving the Lord your God and by walking ever in his ways—then you shall add three other cities to these three, 10 lest innocent blood be shed in your land that the Lord your God is giving you for an inheritance, and so the guilt of bloodshed be upon you.
11 “But if anyone hates his neighbor and lies in wait for him and attacks him and strikes him fatally so that he dies, and he flees into one of these cities, 12 then the elders of his city shall send and take him from there, and hand him over to the avenger of blood, so that he may die. 13 Your eye shall not pity him, but you shall purge the guilt of innocent blood  from Israel, so that it may be well with you.
14 “You shall not move your neighbor’s landmark, which the men of old have set, in the inheritance that you will hold in the land that the Lordyour God is giving you to possess.
Laws Concerning Witnesses
15 “A single witness shall not suffice against a person for any crime or for any wrong in connection with any offense that he has committed. Only on the evidence of two witnesses or of three witnesses shall a charge be established. 16 If a malicious witness arises to accuse a person of wrongdoing, 17 then both parties to the dispute shall appear before the Lord, before the priests and the judges who are in office in those days.18 The judges shall inquire diligently, and if the witness is a false witness and has accused his brother falsely, 19 then you shall do to him as he had meant to do to his brother. So you shall purge the evil  from your midst. 20 And the rest shall hear and fear, and shall never again commit any such evil among you. 21 Your eye shall not pity. It shall be life for life, eye for eye, tooth for tooth, hand for hand, foot for foot.
Laws Concerning Warfare
20:1 “When you go out to war against your enemies, and see horses and chariots and an army larger than your own, you shall not be afraid of them, for the Lord your God is with you, who brought you up out of the land of Egypt. 2 And when you draw near to the battle, the priest shall come forward and speak to the people 3 and shall say to them, ‘Hear, O Israel, today you are drawing near for battle against your enemies: let not your heart faint. Do not fear or panic or be in dread of them, 4 for the Lord your God is he who goes with you to fight for you against your enemies, to give you the victory.’ 5 Then the officers shall speak to the people, saying, ‘Is there any man who has built a new house and has not dedicated it? Let him go back to his house, lest he die in the battle and another man dedicate it. 6 And is there any man who has planted a vineyard and has not enjoyed its fruit? Let him go back to his house, lest he die in the battle and another man enjoy its fruit. 7 And is there any man who has betrothed a wife and has not taken her? Let him go back to his house, lest he die in the battle and another man take her.’ 8 And the officers shall speak further to the people, and say, ‘Is there any man who is fearful and fainthearted? Let him go back to his house, lest he make the heart of his fellows melt like his own.’9 And when the officers have finished speaking to the people, then commanders shall be appointed at the head of the people.
10 “When you draw near to a city to fight against it, offer terms of peace to it. 11 And if it responds to you peaceably and it opens to you, then all the people who are found in it shall do forced labor for you and shall serve you. 12 But if it makes no peace with you, but makes war against you, then you shall besiege it. 13 And when the Lord your God gives it into your hand, you shall put all its males to the sword, 14 but the women and the little ones, the livestock, and everything else in the city, all its spoil, you shall take as plunder for yourselves. And you shall enjoy the spoil of your enemies, which the Lord your God has given you. 15 Thus you shall do to all the cities that are very far from you, which are not cities of the nations here.16 But in the cities of these peoples that the Lord your God is giving you for an inheritance, you shall save alive nothing that breathes, 17 but you shall devote them to complete destruction,  the Hittites and the Amorites, the Canaanites and the Perizzites, the Hivites and the Jebusites, as theLord your God has commanded, 18 that they may not teach you to do according to all their abominable practices that they have done for their gods, and so you sin against the Lord your God.
19 “When you besiege a city for a long time, making war against it in order to take it, you shall not destroy its trees by wielding an axe against them. You may eat from them, but you shall not cut them down. Are the trees in the field human, that they should be besieged by you? 20 Only the trees that you know are not trees for food you may destroy and cut down, that you may build siegeworks against the city that makes war with you, until it falls.
Atonement for Unsolved Murders
21:1 “If in the land that the Lord your God is giving you to possess someone is found slain, lying in the open country, and it is not known who killed him, 2 then your elders and your judges shall come out, and they shall measure the distance to the surrounding cities. 3 And the elders of the city that is nearest to the slain man shall take a heifer that has never been worked and that has not pulled in a yoke. 4 And the elders of that city shall bring the heifer down to a valley with running water, which is neither plowed nor sown, and shall break the heifer’s neck there in the valley. 5 Then the priests, the sons of Levi, shall come forward, for the Lord your God has chosen them to minister to him and to bless in the name of the Lord, and by their word every dispute and every assault shall be settled. 6 And all the elders of that city nearest to the slain man shall wash their hands over the heifer whose neck was broken in the valley, 7 and they shall testify, ‘Our hands did not shed this blood, nor did our eyes see it shed. 8 Accept atonement, O Lord, for your people Israel, whom you have redeemed, and do not set the guilt of innocent blood in the midst of your people Israel, so that their blood guilt be atoned for.’ 9 So you shall purge the guilt of innocent blood from your midst, when you do what is right in the sight of theLord.
Marrying Female Captives
10 “When you go out to war against your enemies, and the Lord your God gives them into your hand and you take them captive, 11 and you see among the captives a beautiful woman, and you desire to take her to be your wife, 12 and you bring her home to your house, she shall shave her head and pare her nails. 13 And she shall take off the clothes in which she was captured and shall remain in your house and lament her father and her mother a full month. After that you may go in to her and be her husband, and she shall be your wife. 14 But if you no longer delight in her, you shall let her go where she wants. But you shall not sell her for money, nor shall you treat her as a slave, since you have humiliated her.
Inheritance Rights of the Firstborn
15 “If a man has two wives, the one loved and the other unloved, and both the loved and the unloved have borne him children, and if the firstborn son belongs to the unloved,  16 then on the day when he assigns his possessions as an inheritance to his sons, he may not treat the son of the loved as the firstborn in preference to the son of the unloved, who is the firstborn, 17 but he shall acknowledge the firstborn, the son of the unloved, by giving him a double portion of all that he has, for he is the firstfruits of his strength. The right of the firstborn is his.
A Rebellious Son
18 “If a man has a stubborn and rebellious son who will not obey the voice of his father or the voice of his mother, and, though they discipline him, will not listen to them, 19 then his father and his mother shall take hold of him and bring him out to the elders of his city at the gate of the place where he lives, 20 and they shall say to the elders of his city, ‘This our son is stubborn and rebellious; he will not obey our voice; he is a glutton and a drunkard.’ 21 Then all the men of the city shall stone him to death with stones. So you shall purge the evil from your midst, and all Israel shall hear, and fear.
A Man Hanged on a Tree Is Cursed
22 “And if a man has committed a crime punishable by death and he is put to death, and you hang him on a tree, 23 his body shall not remain all night on the tree, but you shall bury him the same day, for a hanged man is cursed by God. You shall not defile your land that the Lord your God is giving you for an inheritance.