Deuteronomy 16:11-22

16:11 You shall rejoice before him – you, your son, your daughter, your male and female slaves, the Levites in your villages, the resident foreigners, the orphans, and the widows among you – in the place where the Lord chooses to locate his name. 16:12 Furthermore, remember that you were a slave in Egypt, and so be careful to observe these statutes.

The Festival of Temporary Shelters

16:13 You must celebrate the Festival of Temporary Shelters for seven days, at the time of the grain and grape harvest. 16:14 You are to rejoice in your festival, you, your son, your daughter, your male and female slaves, the Levites, the resident foreigners, the orphans, and the widows who are in your villages. 16:15 You are to celebrate the festival seven days before the Lord your God in the place he chooses, for he will bless you in all your productivity and in whatever you do; so you will indeed rejoice! 16:16 Three times a year all your males must appear before the Lord your God in the place he chooses for the Festival of Unleavened Bread, the Festival of Weeks, and the Festival of Temporary Shelters; and they must not appear before him empty-handed. 16:17 Every one of you must give as you are able, according to the blessing of the Lord your God that he has given you.

Provision for Justice

16:18 You must appoint judges and civil servants for each tribe in all your villages that the Lord your God is giving you, and they must judge the people fairly. 16:19 You must not pervert justice or show favor. Do not take a bribe, for bribes blind the eyes of the wise and distort the words of the righteous. 16:20 You must pursue justice alone so that you may live and inherit the land the Lord your God is giving you.

Examples of Legal Cases

16:21 You must not plant any kind of tree as a sacred Asherah pole near the altar of the Lord your God which you build for yourself. 16:22 You must not erect a sacred pillar, a thing the Lord your God detests.