Bamidbar7:48

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

On the seventh day, the leader of the children of Efrayim (Ephraim), Elishama the son of Ammihud.

Bamidbar 7:48

בַּיּוֹם הַשְּׁבִיעִי נָשִׂיא

Bamidbar / Numbers 7:48 · Sod

Bamidbar 7:48

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

On the seventh day, the leader of the children of Efrayim (Ephraim), Elishama the son of Ammihud.

Sod סוֹד

Yosef and Shabbat

There are people who do good though no one asked them. What makes such a deed worth more than carrying out an order?

Sefat Emet: Yosef (Joseph) kept Shabbat before it was given, and so the leader of his descendants brought his gift on Shabbat. Yosef the righteous is the level of Shabbat: as Shabbat contains all the days of the week, so Yosef contains all the souls of Israel, and his offering is like an offering of the whole community.

How Sefat Emet explain it

Sefat Emet On the seventh day, the leader of the children of Efrayim (Ephraim)

In the midrash on the portion Nasso it says of this verse: this is what "the King of glory" (Tehillim / Psalms 24:7) means, who gives glory to those who fear Him. "Who came before Me, that I should repay him?" (Iyov / Job 41:3). For Yosef kept Shabbat before it was given, and so his leader brought his gift on Shabbat.

And one may say that this is hinted at in the words of the Shabbat prayer: "Those who delight in it will inherit glory forever (לְעוֹלָם)." Why "forever"? Because he kept Shabbat before it was given and merited that glory. For this is a sign: whoever delights in Shabbat knows that from the days of Creation, on this day the Holy One, blessed is He, rested from His work. So the holy ones kept, honoured and delighted in Shabbat by their own understanding, before the Holy One, blessed is He, commanded the children of Israel to keep Shabbat.

And in truth, Yosef the righteous is the level of Shabbat, and Shabbat contains all the days of the week. And Yosef contains all the souls of the children of Israel, and so his offering is an offering of the community, and it was brought on Shabbat.

Takeaway

The words "Those who delight in it will inherit glory forever" are from the Shabbat musaf prayer, from the hymn "Tikanta Shabbat."
Scripture calls the righteous "the foundation of the world" (Mishlei / Proverbs 10:25), and the sages call Yosef the righteous one (Yoma 35b).
The midrash: Yosef kept Shabbat before the giving of the Torah (Bereshit Rabbah 92:4).