Мусар к Дварим 16:11

וְשָׂמַחְתָּ֞ לִפְנֵ֣י ׀ יְהוָ֣ה אֱלֹהֶ֗יךָ אַתָּ֨ה וּבִנְךָ֣ וּבִתֶּךָ֮ וְעַבְדְּךָ֣ וַאֲמָתֶךָ֒ וְהַלֵּוִי֙ אֲשֶׁ֣ר בִּשְׁעָרֶ֔יךָ וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָאַלְמָנָ֖ה אֲשֶׁ֣ר בְּקִרְבֶּ֑ךָ בַּמָּק֗וֹם אֲשֶׁ֤ר יִבְחַר֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לְשַׁכֵּ֥ן שְׁמ֖וֹ שָֽׁם׃

И радуйся пред Господом, Богом твоим, ты и сын твой, и дочь твоя, и раб твой, и служанка твоя, и левит, который в воротах их, и странник, и без отца, и вдова, которая среди тебя, на месте, которое изберет Господь, Бог твой, чтобы пребывать там во имя Его.

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].