Rejoice during your festival-you, your son and daughter, your male and female slave, as well as the Levite, the foreign resident, the fatherless, and the widow within your gates.
You are to hold a seven-day festival for the Lord your God in the place He chooses, because the Lord your God will bless you in all your produce and in all the work of your hands, and you will have abundant joy.
"All your males are to appear three times a year before the Lord your God in the place He chooses: at the Festival of Unleavened Bread, the Festival of Weeks, and the Festival of Booths.a No one is to appear before the Lord empty-handed.
Everyone [must appear] with a gift suited to his means, according to the blessing the Lord your God has given you.
"Appoint judges and officials for your tribes in all your towns the Lord your God is giving you. They are to judge the people with righteous judgment.
Do not deny justice or show partiality [to anyone]. Do not accept a bribe, for it blinds the eyes of the wise and twists the words of the righteous.
Pursue justice and justice alone, so that you will live and possess the land the Lord your God is giving you.b