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 · Sod

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.

Sod סוֹד

Lulav: "a heart for Him"

You can enter a beautiful garden and look only at the flowers. Or you can remember who invited you there.

The Sefat Emet: the booth hints at the world to come and the Garden of Eden. There are many paths in the garden, but the owner of the garden knows the path of life. This is the commandment of the lulav: the sages read "lulav" (לוּלָב) as "a heart for Him" (לוֹ לֵב). A wise person does not rejoice in the trees and spices of the King's garden, but gives his heart to the King Himself. The booth is "the shade of faith," with which God saves Israel. But Israel rejoice in that shade more than in the rescue.

How Sefat Emet explain it

Sefat Emet Branches of palm trees

On the verse "You will make known to me the path of life" (Tehillim / Psalms 16:11), see in the midrash on "and you shall take for yourselves the fruit of a tree." For the booth hints at the world to come and the Garden of Eden. That is why we say: "so may we merit to sit in the booth of the Leviathan." And yet there are many paths in the garden, and the owner of the garden knows the path of life in the garden. This is the commandment of the lulav, as the sages said: lulav (לוּלָב) is "a heart for Him" (לוֹ לֵב). That is, a person of understanding need not rejoice in all the trees and spices in the King's garden, but must give his heart to the King, for he has merited to be a guest in the King's garden. This is what is said: "The King has brought me into His chambers, we will exult and rejoice in You" (Shir HaShirim / Song of Songs 1:4), in You specifically. As the midrash on the Song of Songs says: "I have nothing more desirable than You."

And through the commandment of the lulav a person receives the light of the booth into his heart. For the Holy One, blessed is He, gave Israel the commandment of the booth because the forces of evil pursue Israel for having been acquitted in judgement on Rosh Hashanah and Yom Kippur. So the Holy One, blessed is He, saves us with "the shade of faith." But Israel rejoice in this shade more than in the rescue it gave them. This is "and you shall take for yourselves": although the intention of the Omnipresent, blessed is He, is to save us, Israel must themselves take the light of the booth and rejoice before the Holy One, blessed is He.

Takeaway

The Leviathan is a huge sea creature in Scripture (Iyov / Job 40:25). According to the sages, in the future a booth for the righteous will be made from its skin.
"The shade of faith" is what the Zohar calls the booth.
The words "so may we merit to sit in the booth of the Leviathan" are said when leaving the booth at the end of the festival.