וְשָׂמַחְתָּ֞ לִפְנֵ֣י ׀ יְהוָ֣ה אֱלֹהֶ֗יךָ אַתָּ֨ה וּבִנְךָ֣ וּבִתֶּךָ֮ וְעַבְדְּךָ֣ וַאֲמָתֶךָ֒ וְהַלֵּוִי֙ אֲשֶׁ֣ר בִּשְׁעָרֶ֔יךָ וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָאַלְמָנָ֖ה אֲשֶׁ֣ר בְּקִרְבֶּ֑ךָ בַּמָּק֗וֹם אֲשֶׁ֤ר יִבְחַר֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לְשַׁכֵּ֥ן שְׁמ֖וֹ שָֽׁם׃
Bersukacitalah di hadapan Yang Mahakekal, Allahmu, engkau, anakmu laki-laki dan anakmu perempuan, budakmu laki-laki dan budakmu perempuan, orang Lewi yang ada di kotamu, serta orang asing, anak yatim, dan janda yang ada di tengah-tengahmu, di tempat yang akan dipilih Yang Mahakekal, Allahmu, untuk menempatkan nama-Nya di sana.
Shenei Luchot HaBerit
I found in the name of the author of the [Sefer] HaYereim, may his memory be blessed: We learn from here that a person is obligated on the holiday to engage in any proper enjoyment and any joyful thing which makes him rejoice; with anything from which his heart derives joy and bliss, like eating, drinking and strolling. So a person is obligated to do everything that makes him rejoice. And just like he is obligated to make himself rejoice; so too is he obligated to make his sons, his daughters and his household rejoice, as it is stated (Deuteronomy 16:14), "You are to rejoice during your festival - you, your son and your daughter." And just like he is obligated to make his sons, his daughters and his household rejoice; so too is he obligated to make others rejoice with him, as it is stated (Deuteronomy 16:11), "and the Levite who is in your city, the stranger, the orphan and the widow who are among you." The Holy One, blessed be He, said, "You have four [types of] residents - your son, your daughter, your slave and your maidservant. If you make mine rejoice, I will make yours rejoice." And likewise Ezra says (Nehemiah 8:10), "Go, eat choice foods and drink sweet drinks and send portions to whoever has nothing prepared for himself." To here are his [words].