Devarim (Deuteronomy) Chapter 16

13You must observe for yourself the festival of Sukot for seven days when you gather the produce from your threshing floor and your vat.   יגחַ֧ג הַסֻּכֹּ֛ת תַּֽעֲשֶׂ֥ה לְךָ֖ שִׁבְעַ֣ת יָמִ֑ים בְּאָ֨סְפְּךָ֔ מִגָּרְנְךָ֖ וּמִיִּקְבֶֽךָ:
בְּאָסְפְּךָ - When you gather - i.e., at the time of ingathering, when you bring the summer produce into the house. Another explanation of בְּאָסְפְּךָ מִגָּרְנְךָ וּמִיִּקְבֶךָ: It teaches us that one must make the sukah roof from waste material left in the threshing-floor and the vat.   בְּאָסְפְּךָ.  בִּזְמַן הָאָסִיף שֶׁאַתָּה מַכְנִיס לַבַּיִת פֵּרוֹת הַקַּיִץ; דָּבָר אַחֵר — באספך מגרנך ומיקבך, לִמֵּד שֶׁמְּסַכְּכִין אֶת הַסֻּכָּה בִּפְסֹלֶת גֹּרֶן וְיֶקֶב (ראש השנה י"ג; סוכה י"ב):
14You must rejoice in your festival—you, your son, your daughter, your bondman, and your bondwoman, the Levite, the convert, the orphan, and the widow who are from your city.   ידוְשָֽׂמַחְתָּ֖ בְּחַגֶּ֑ךָ אַתָּ֨ה וּבִנְךָ֤ וּבִתֶּ֨ךָ֙ וְעַבְדְּךָ֣ וַֽאֲמָתֶ֔ךָ וְהַלֵּוִ֗י וְהַגֵּ֛ר וְהַיָּת֥וֹם וְהָֽאַלְמָנָ֖ה אֲשֶׁ֥ר בִּשְׁעָרֶֽיךָ:
15You must celebrate the festival in honor of God, your God, for seven days in the place that God will choose, because God, your God, will bless you in all your produce and in all the work of your hands, and you will be only happy.   טושִׁבְעַ֣ת יָמִ֗ים תָּחֹג֙ לַֽיהֹוָ֣ה אֱלֹהֶ֔יךָ בַּמָּק֖וֹם אֲשֶׁר־יִבְחַ֣ר יְהֹוָ֑ה כִּ֣י יְבָֽרֶכְךָ֞ יְהֹוָ֣ה אֱלֹהֶ֗יךָ בְּכֹ֤ל תְּבוּאָֽתְךָ֙ וּבְכֹל֙ מַֽעֲשֵׂ֣ה יָדֶ֔יךָ וְהָיִ֖יתָ אַ֥ךְ שָׂמֵֽחַ:
וְהָיִיתָ אַךְ שָׂמֵֽחַ - And you will be only happy. According to its simple sense, this does not denote a command, but a promise. However, according to its Talmudic interpretation, our sages derived from here that the obligation of rejoicing also extends to the last night of the festival, the night of Shemini Atzeret.   וְהָיִיתָ אַךְ שָׂמֵֽחַ.  לְפִי פְשׁוּטוֹ אֵין זֶה לְשׁוֹן צִוּוּי אֶלָּא לְשׁוֹן הַבְטָחָה, וּלְפִי תַלְמוּדוֹ לָמְדוּ מִכָּאן לְרַבּוֹת לֵילֵי יוֹם טוֹב הָאַחֲרוֹן לְשִׂמְחָה (שם מ"ח):
16Every one of your males must appear before God, your God, in the place He will choose three times a year: on the festival of matzos; on the festival of Shavu’ot; and on the festival of Sukot. He must not appear before God empty-handed.   טזשָׁל֣וֹשׁ פְּעָמִ֣ים | בַּשָּׁנָ֡ה יֵֽרָאֶה֩ כָל־זְכ֨וּרְךָ֜ אֶת־פְּנֵ֣י | יְהֹוָ֣ה אֱלֹהֶ֗יךָ בַּמָּקוֹם֙ אֲשֶׁ֣ר יִבְחָ֔ר בְּחַ֧ג הַמַּצּ֛וֹת וּבְחַ֥ג הַשָּֽׁבֻע֖וֹת וּבְחַ֣ג הַסֻּכּ֑וֹת וְלֹ֧א יֵֽרָאֶ֛ה אֶת־פְּנֵ֥י יְהֹוָ֖ה רֵיקָֽם:
וְלֹא יֵֽרָאֶה אֶת־פְּנֵי ה' רֵיקָֽם - He must not appear before God empty-handed - but bring ascent-offerings “for appearance” (רְאִיָּה) and peace-offerings as festival sacrifices (חֲגִיגָה).   וְלֹא יֵֽרָאֶה אֶת־פְּנֵי ה' רֵיקָֽם.  אֶלָּא הָבֵא עוֹלוֹת רְאִיָּה וְשַׁלְמֵי חֲגִיגָה:
17Every man must bring as many offerings as he can afford, in accordance with the blessing of God, your God, that He has given you.”   יזאִ֖ישׁ כְּמַתְּנַ֣ת יָד֑וֹ כְּבִרְכַּ֛ת יְהֹוָ֥ה אֱלֹהֶ֖יךָ אֲשֶׁ֥ר נָֽתַן־לָֽךְ:
אִישׁ כְּמַתְּנַת יָדוֹ - Every man as many as he can afford - i.e., he who has many eaters, i.e., a large party of family and guests, and many possessions must bring many ascent-offerings and many peace-offerings.   אִישׁ כְּמַתְּנַת יָדוֹ.  מִי שֶׁיֵּשׁ לוֹ אוֹכְלִין הַרְבֵּה וּנְכָסִים מְרֻבִּין יָבִיא עוֹלוֹת מְרֻבּוֹת וּשְׁלָמִים מְרֻבִּים (ספרי; חגיגה ח'):