Vayikra23:40

וּלְקַחְתֶּם לָכֶם בַּיּוֹם הָרִאשׁוֹן פְּרִי עֵץ הָדָר כַּפֹּת תְּמָרִים וַעֲנַף עֵץ־עָבֹת וְעַרְבֵי־נָחַל וּשְׂמַחְתֶּם לִפְנֵי יְהוָה אֱלֹהֵיכֶם שִׁבְעַת יָמִים׃

And you shall take for yourselves on the first day the fruit of a splendid tree, branches of palm trees, a bough of a leafy tree and willows of the brook, and you shall rejoice before the Eternal your Almighty seven days.

Vayikra 23:40

וּלְקַחְתֶּם לָכֶם בַּיּוֹם

Vayikra / Leviticus 23:40 · Drash

Vayikra 23:40

וּלְקַחְתֶּם לָכֶם בַּיּוֹם הָרִאשׁוֹן פְּרִי עֵץ הָדָר כַּפֹּת תְּמָרִים וַעֲנַף עֵץ־עָבֹת וְעַרְבֵי־נָחַל וּשְׂמַחְתֶּם לִפְנֵי יְהוָה אֱלֹהֵיכֶם שִׁבְעַת יָמִים׃

And you shall take for yourselves on the first day the fruit of a splendid tree, branches of palm trees, a bough of a leafy tree and willows of the brook, and you shall rejoice before the Eternal your Almighty seven days.

Drash דְּרָשׁ

The first day of the count

When a debt is forgiven, you want to start with a clean slate. But that same day a new count begins.

Midrash Tanchuma asks: why is the fifteenth of the month called "the first"? It is the first in the count of sins. A parable: a city owed the king a tax. When the king set out against them, first the nobles came out to meet him, then the strong men, then everyone, and the king forgave the whole debt, but said: "From here a new count begins." So with Israel: the great ones fast before Rosh Hashanah, individuals until Yom Kippur, and on Yom Kippur everyone fasts, and God forgives all. On Sukkot the lulav is taken, and from that day a new count begins.

How Midrash Tanchuma explain it

Midrash Tanchuma And you shall take for yourselves on the first day

Is it the first day? It is the fifteenth day, and you say "on the first day"! But it is the first in the count of sins. Rabbi Mani and Rabbi Yehoshua of Sakhnin said in the name of Rabbi Levi: what is this like? Like a city that owed the king a tax. The king sent to collect it, and they did not pay, because the debt was large. So the first time. And the second time he sent to collect, and they did not pay. What did the king do? He said to the men of his palace: "Rise, let us go against them." When they had gone about ten miles, the people of the city heard. What did they do? The nobles of the city began to go out to meet the king. He asked them: "Who are you?" They said to him: "We are the people of such-and-such a city, to which you sent to collect the tax." He asked: "What do you ask?" They said to him: "We beg you, show us kindness: we have nothing to give." He said to them: "For your sake I forgive you half."

While he was walking, the strong men of the city came out and met him too, five miles away. He asked: "And who are you?" They said to him: "We are the people of such-and-such a city, to which you sent to collect the tax. We have no strength to stand, but we beg you: have mercy on us." He said to them: "I have already forgiven half, and for your sake I forgive half of the half." While he was walking, all the people of the city came out to him, great and small. He asked: "What do you ask?" They said to him: "Our lord the king, we have no strength to give what we owe you." He said to them: "I have already forgiven half and half of the half, and for your sake I forgive everything. But from here on is the start of the count."

The king is the King of kings, the Holy One, blessed is He, may His Name be blessed and praised. The people of the city are Israel, who pile up sins all year. What does the Holy One, blessed is He, do? He says to them: "Repent from Rosh Hashanah." And they come on Yom Kippur, fast on that day and repent, and the Holy One, blessed is He, forgives them. What do they do? On the eve of Rosh Hashanah the great ones of the generation fast, and the Holy One, blessed is He, forgives them a third of their sins. From Rosh Hashanah to Yom Kippur individuals fast, and the Holy One, blessed is He, forgives a third of the sins. And on Yom Kippur all Israel fast and ask for mercy, men, women and children, and the Holy One, blessed is He, forgives them everything, as it is written: "For on this day He shall atone for you" (Vayikra / Leviticus 16:30).

What do Israel do? They take their lulavs on the first festival day and praise and extol the Holy One, blessed is He. And the Holy One, blessed is He, is pleased with them, forgives them and says to them: "Behold, I have forgiven you all your earlier sins, but from now on is the start of the count." That is why it is written: "And you shall take for yourselves on the first day," the first in the count of sins.

The Holy One, blessed is He, said to Israel: in this world I told you to make a booth, so that you repay Me for the good I did you, as it says: "In booths you shall dwell seven days" and "so that your generations may know that I made them dwell in booths" (Vayikra / Leviticus 23:42–43). And I count it for you as if you were doing good before Me. But in the time to come I will appear in My kingship and shelter you like a booth, as it says: "And there shall be a booth for shade by day from the heat" (Yeshayahu / Isaiah 4:6).

Takeaway

Sukkot begins on the fifteenth day of the seventh month, Tishrei (Vayikra / Leviticus 23:34).
There are ten days between Rosh Hashanah and Yom Kippur, called the days of repentance.
A mile in the sages' usage is about a kilometre.