Deut 16:13-18

The Festival of Booths Reviewed 13You shall keep the festival of booths for seven days, when you have gathered in the produce from your threshing floor and your wine press.14Rejoice 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.15Seven days you shall keep the festival for 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.16Three 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. They shall not appear before the Lord empty-handed;17all shall give as they are able, according to the blessing of the Lord your God that he has given you.Municipal Judges and Officers 18You 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.