וְשָׂמַחְתָּ֞ לִפְנֵ֣י ׀ יְהוָ֣ה אֱלֹהֶ֗יךָ אַתָּ֨ה וּבִנְךָ֣ וּבִתֶּךָ֮ וְעַבְדְּךָ֣ וַאֲמָתֶךָ֒ וְהַלֵּוִי֙ אֲשֶׁ֣ר בִּשְׁעָרֶ֔יךָ וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָאַלְמָנָ֖ה אֲשֶׁ֣ר בְּקִרְבֶּ֑ךָ בַּמָּק֗וֹם אֲשֶׁ֤ר יִבְחַר֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לְשַׁכֵּ֥ן שְׁמ֖וֹ שָֽׁם׃
너와 네 자녀와 노비와 네 성중에 거하는 레위인과 및 너희 중에 있는 객과 고아와 과부가 함께 네 하나님 여호와께서 그 이름을 두시려고 택하신 곳에서 네 하나님 여호와 앞에서 즐거워할지니라
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].