48:20

וַיְבָרֲכֵם בַּיּוֹם הַהוּא לֵאמוֹר בְּךָ יְבָרֵךְ יִשְׂרָאֵל לֵאמֹר יְשִׂמְךָ אֱלֹהִים כְּאֶפְרַיִם וְכִמְנַשֶּׁה וַיָּשֶׂם אֶת־אֶפְרַיִם לִפְנֵי מְנַשֶּׁה׃

And he blessed them that day, saying: "By you Israel shall bless, saying: 'May the Almighty make you like Efrayim and like Menashe.'" And he set Efrayim before Menashe.

Bereshit 48:20

וַיְבָרֲכֵם בַּיּוֹם הַהוּא

Bereshit / Genesis 48:20 · Drash

Bereshit 48:20

וַיְבָרֲכֵם בַּיּוֹם הַהוּא לֵאמוֹר בְּךָ יְבָרֵךְ יִשְׂרָאֵל לֵאמֹר יְשִׂמְךָ אֱלֹהִים כְּאֶפְרַיִם וְכִמְנַשֶּׁה וַיָּשֶׂם אֶת־אֶפְרַיִם לִפְנֵי מְנַשֶּׁה׃

And he blessed them that day, saying: "By you Israel shall bless, saying: 'May the Almighty make you like Efrayim and like Menashe.'" And he set Efrayim before Menashe.

Drash דְּרָשׁ

First in everything

"And he set Efrayim before Menashe." The midrash goes through all of Tanakh and finds this precedence repeated again and again. And Lekach Tov hears our verse in the blessing over a newborn.

Bereshit Rabbah: as Efrayim is placed first here, so he is first everywhere: in the genealogies, in the inheritance, in the banners, in the offerings of the princes, among the judges (Yehoshua (Joshua) from Efrayim, Gideon from Menashe) and among the kings. Midrash Lekach Tov: at a circumcision they say "may he be a brother to seven and also to eight": these are Efrayim and Menashe, whose princes brought gifts on the seventh and eighth day.

How Bereshit Rabbah and Midrash Lekach Tov explain it

Bereshit Rabbah

"And he blessed them that day." As they are placed first here, so they are placed first everywhere. First in the generations: "these are the generations of the sons of Efrayim", and after that "these are the generations of the sons of Menashe". In lineage: "of the sons of Efrayim, their generations by their families" (Bamidbar / Numbers 1:32). First in the inheritance: "this is the inheritance of the sons of Efrayim" (Yehoshua / Joshua 16:5), and after that "this is the inheritance of the sons of Menashe". First in the banners: "the banner of the camp of Efrayim" (Bamidbar / Numbers 2:18), and after that "and next to him the tribe of Menashe" (ibid. 2:20). First in the princes: "on the seventh day, the prince of the sons of Efrayim" (ibid. 7:48), and after that "on the eighth day, the prince of the sons of Menashe" (ibid. 7:54). First in the judges: Yehoshua from Efrayim, and Gideon from Menashe. First in the kings: Yerovam (Jeroboam) from Efrayim, and Yehu from Menashe. First in the blessing: "by you shall Israel bless, saying: May the Almighty make you like Efrayim and like Menashe". First in the blessing: "and he set Efrayim before Menashe".

Midrash Lekach Tov

"May the Almighty make you like Efrayim and like Menashe." [Where do we find that Israel is blessed in this manner: "May the Almighty make you like Efrayim and like Menashe"?] At a circumcision, when Israel says: ["may the child live for his father and his mother"], "may he be a brother to seven and also to eight". These are Efrayim and Menashe, who brought the offering of the princes on the seventh and on the eighth day, as it says: ["on the seventh day, the prince of the sons of Efrayim" (Bamidbar / Numbers 7:48)] and "on the eighth day, the prince of the sons of Menashe" (ibid. 7:54).

Takeaway

Yehoshua is from the tribe of Efrayim: "of the tribe of Efrayim, Hoshea son of Nun" (Bamidbar / Numbers 13:8). Gideon is from the tribe of Menashe: "my thousand is the poorest in Menashe" (Shoftim / Judges 6:15).
"Give a portion to seven and also to eight" (Kohelet / Ecclesiastes 11:2). Lekach Tov hears in these numbers the seventh and eighth days of the princes' offerings.
The twelve princes brought their gifts one per day (Bamidbar / Numbers 7). Efrayim and Menashe come in a row, seventh and eighth, and again Efrayim is first.