Deuteronomy 16:11

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.

Deuteronomy 16:15

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!