Deuteronomy 16:13–15

The Feast of Booths includes the slave, the Levite, the foreigner and the widow

13The Feast of Booths you shall celebrate for yourself seven days, when you gather in from your threshing floor and from your winepress.

14And you shall rejoice in your feast, you and your son and your daughter, your male slave and your female slave, and the Levite, the resident alien, the orphan, and the widow who are within your gates.

15Seven days you shall celebrate the feast to YHWH your Elohim in the place that YHWH chooses, for YHWH your Elohim will bless you in all your produce and in all the work of your hands, and you shall be altogether joyful.

Study it word by word

In its context

11And you shall rejoice before YHWH your Elohim, you and your son and your daughter, your male slave and your female slave, and the Levite who is within your gates, and the resident alien, the orphan, and the widow who are among you, in the place that YHWH your Elohim chooses to make his name dwell there.

12And you shall remember that you were a slave in Egypt, and you shall keep and carry out these statutes.

…

16Three times in the year all your males shall appear before YHWH your Elohim in the place that he chooses: at the Feast of Unleavened Bread, at the Feast of Weeks, and at the Feast of Booths. And none shall appear before YHWH empty-handed;

17each shall give according to the gift of his hand, according to the blessing of YHWH your Elohim that he has given you.

Read all of Deuteronomy 16

Its words in the original

Joy and thanks