Rejoice before the Lord your God—you and your sons and your daughters, your male and female slaves, the Levites resident in your towns, as well as the strangers, the orphans, and the widows who are among you—at the place that the Lord your God will choose as a dwelling for his name.
Remember that you were a slave in Egypt, and diligently observe these statutes.
You shall keep the festival of booths a for seven days, when you have gathered in the produce from your threshing floor and your wine press.
Rejoice during your festival, you and your sons and your daughters, your male and female slaves, as well as the Levites, the strangers, the orphans, and the widows resident in your towns.
Seven days you shall keep the festival to the Lord your God at the place that the Lord will choose; for the Lord your God will bless you in all your produce and in all your undertakings, and you shall surely celebrate.
Three times a year all your males shall appear before the Lord your God at the place that he will choose: at the festival of unleavened bread, at the festival of weeks, and at the festival of booths. b They shall not appear before the Lord empty-handed;
all shall give as they are able, according to the blessing of the Lord your God that he has given you.
You shall appoint judges and officials throughout your tribes, in all your towns that the Lord your God is giving you, and they shall render just decisions for the people.
You must not distort justice; you must not show partiality; and you must not accept bribes, for a bribe blinds the eyes of the wise and subverts the cause of those who are in the right.
Justice, and only justice, you shall pursue, so that you may live and occupy the land that the Lord your God is giving you.
You shall not plant any tree as a sacred pole c beside the altar that you make for the Lord your God;
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)