The Festival of Tabernacles

13 Celebrate the Festival of Tabernacles for seven days after you have gathered the produce of your threshing-floor and your winepress. 14 Be joyful at your festival – you, your sons and daughters, your male and female servants, and the Levites, the foreigners, the fatherless and the widows who live in your towns. 15 For seven days celebrate the festival to the Lord your God at the place the Lord will choose. For the Lord your God will bless you in all your harvest and in all the work of your hands, and your joy will be complete.

16 Three times a year all your men must appear before the Lord your God at the place he will choose: at the Festival of Unleavened Bread, the Festival of Weeks and the Festival of Tabernacles. No one should appear before the Lord empty-handed: 17 each of you must bring a gift in proportion to the way the Lord your God has blessed you.

Judges

18 Appoint judges and officials for each of your tribes in every town the Lord your God is giving you, and they shall judge the people fairly. 19 Do not pervert justice or show partiality. Do not accept a bribe, for a bribe blinds the eyes of the wise and twists the words of the innocent. 20 Follow justice and justice alone, so that you may live and possess the land the Lord your God is giving you.

Worshipping other gods

21 Do not set up any wooden Asherah pole beside the altar you build to the Lord your God, 22 and do not erect a sacred stone, for these the Lord your God hates.

17 Do not sacrifice to the Lord your God an ox or a sheep that has any defect or flaw in it, for that would be detestable to him.

If a man or woman living among you in one of the towns the Lord gives you is found doing evil in the eyes of the Lord your God in violation of his covenant, and contrary to my command has worshipped other gods, bowing down to them or to the sun or the moon or the stars in the sky, and this has been brought to your attention, then you must investigate it thoroughly. If it is true and it has been proved that this detestable thing has been done in Israel, take the man or woman who has done this evil deed to your city gate and stone that person to death. On the testimony of two or three witnesses a person is to be put to death, but no one is to be put to death on the testimony of only one witness. The hands of the witnesses must be the first in putting that person to death, and then the hands of all the people. You must purge the evil from among you.

Law courts

If cases come before your courts that are too difficult for you to judge – whether bloodshed, lawsuits or assaults – take them to the place the Lord your God will choose. Go to the Levitical priests and to the judge who is in office at that time. Enquire of them and they will give you the verdict. 10 You must act according to the decisions they give you at the place the Lord will choose. Be careful to do everything they instruct you to do. 11 Act according to whatever they teach you and the decisions they give you. Do not turn aside from what they tell you, to the right or to the left. 12 Anyone who shows contempt for the judge or for the priest who stands ministering there to the Lord your God is to be put to death. You must purge the evil from Israel. 13 All the people will hear and be afraid, and will not be contemptuous again.

The king

14 When you enter the land the Lord your God is giving you and have taken possession of it and settled in it, and you say, ‘Let us set a king over us like all the nations around us,’ 15 be sure to appoint over you a king the Lord your God chooses. He must be from among your fellow Israelites. Do not place a foreigner over you, one who is not an Israelite. 16 The king, moreover, must not acquire great numbers of horses for himself or make the people return to Egypt to get more of them, for the Lord has told you, ‘You are not to go back that way again.’ 17 He must not take many wives, or his heart will be led astray. He must not accumulate large amounts of silver and gold.

18 When he takes the throne of his kingdom, he is to write for himself on a scroll a copy of this law, taken from that of the Levitical priests. 19 It is to be with him, and he is to read it all the days of his life so that he may learn to revere the Lord his God and follow carefully all the words of this law and these decrees 20 and not consider himself better than his fellow Israelites and turn from the law to the right or to the left. Then he and his descendants will reign a long time over his kingdom in Israel.