Bereshit / Genesis 49:10 · Drash
לֹא־יָסוּר שֵׁבֶט מִיהוּדָה וּמְחֹקֵק מִבֵּין רַגְלָיו עַד כִּי־יָבֹא שילה [שִׁילוֹ] וְלוֹ יִקְּהַת עַמִּים׃
The sceptre shall not depart from Yehudah, nor the lawgiver from between his feet, until Shiloh comes, and to him shall be the obedience of the peoples.
Drash דְּרָשׁ
Scribes, teachers and the gift of nations
Midrash Lekach Tov reads each word of the verse in its own way. The "sceptre" is a scribe's pen, the "lawgiver" teachers of law, and "Shiloh" the one to whom the nations will bring gifts.
Midrash Lekach Tov: the "sceptre" is the scribes in Yehudah, as in "those who wield the scribe's staff". The "lawgiver" is the dwellers of Yaabetz, who teach Israel the laws. "Shiloh" is "shai lo", "a gift to him": the nations of the world will bring gifts to Mashiach son of David. "The obedience of the peoples": he will blunt the teeth of the idolaters, and all kings will bow to him.
How Midrash Lekach Tov explain it
Midrash Lekach Tov The sceptre shall not depart from Yehudah
These are the scribes who are in Yehudah, as in "those who wield the staff (שֵׁבֶט) of the scribe" (Shoftim / Judges 5:14).
Nor the lawgiver from between his feet.
These are the dwellers of Yaabetz, who teach laws to Israel.
Until Shiloh comes.
The explanation: "shai lo" (שַׁי לוֹ, "a gift to him"). For the nations of the world will in future bring gifts to Mashiach son of David, as it says: "at that time a gift will be brought" (Yeshayahu / Isaiah 18:7). And it says: "the kings of Tarshish and the isles shall bring tribute" and so on (Tehillim / Psalms 72:10).
And to him shall be the obedience of the peoples.
That he will in future blunt (לְהַקְהוֹת) the teeth of the idolaters, as it says: "and all kings shall bow down to him, all nations shall serve him" (ibid. 72:11). And it says: "and he shall strike the earth with the rod of his mouth, and with the breath of his lips he shall slay the wicked" (Yeshayahu / Isaiah 11:4). And it says: "and he shall raise a banner for the nations and gather the outcasts of Israel" (ibid. 11:12).
Takeaway
"And the families of scribes who dwelt at Yaabetz" (Divrei HaYamim I / 1 Chronicles 2:55): Yaabetz is a place in the territory of Yehudah where scribes lived. Hence Lekach Tov's "dwellers of Yaabetz".
"To blunt the teeth" (לְהַקְהוֹת): the midrash hears in יִקְּהַת the same root as in "and the children's teeth are set on edge" (Yirmeyahu / Jeremiah 31:28).
"The root of Yishai, which stands as a banner for the peoples, to him shall the nations seek" (Yeshayahu / Isaiah 11:10). Chapter 11 of Yeshayahu is the main prophecy of the king of the house of David, and the midrash takes three verses from it.