Deuteronomy 16:14-22 CSB

14 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.
15 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.
16 "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.

References for Deuteronomy 16:16

      17 Everyone [must appear] with a gift suited to his means, according to the blessing the Lord your God has given you.

      Appointing Judges and Officials

      18 "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.

      References for Deuteronomy 16:18

          19 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.
          20 Pursue justice and justice alone, so that you will live and possess the land the Lord your God is giving you.b

          References for Deuteronomy 16:20

              Forbidden Worship

              21 "Do not set up an Asherah of any kind of wood next to the altar you will build for the Lord your God,

              References for Deuteronomy 16:21

                  22 and do not set up a sacred pillar; the Lord your God hates them.c

                  References for Deuteronomy 16:22

                    • g 16:22 - Dt 7:1-5; 12:2-3