יְהוּדָ֗ה אַתָּה֙ יוֹד֣וּךָ אַחֶ֔יךָ יָדְךָ֖ בְּעֹ֣רֶף אֹיְבֶ֑יךָ יִשְׁתַּחֲוּ֥וּ לְךָ֖ בְּנֵ֥י אָבִֽיךָ׃
猶大啊,你是你弟兄們所要稱頌的;你的手必按在你仇敵的頸項上;你父親的兒子們必向你下拜。
Rashi
יהודה אתה יודוך אחיך THOU JUDAH, THY BRETHREN SHALL PRAISE THEE — Because he rebuked the first three tribes in harsh terms Judah began to move away that he (Jacob) should not censure him for the incident with Tamar; Jacob therefore recalled him with words that would soothe him: Judah, you are not like these! — you your brethren may indeed praise (Genesis Rabbah 99:5).
Rashbam
יהודה אתה יודוך אחיך, anyone who interprets these words to mean that the brothers ought to praise Yehudah is grossly mistaken. The reason that Yaakov transfers the status of leader of the brothers, and, ultimately, hereditary royalty to Yehudah, was not his excellence as much as his older brothers’ unfitness. Yehudah’s elevation to this status would be initiated by his own brothers by their own volition, not through his father imposing him on the rest of the brothers. (compare the end of our verse “and the sons of your father will prostrate themselves before you.”) In Numbers 26,20 when Moses appoints Joshua as his successor, G’d suggests that he on his own account transfer his mantle of leadership to Joshua, [although G’d could have removed it from Moses and then Himself have bestowed it on Joshua. Ed.]
Radak
יהודה אתה יודוך אחיך, they will elevate you to the position of royalty instead of Reuven, for the royalty, or potential for royalty of which I have deprived him your brothers will bestow upon you. We have proof of this happening from Samuel II 5,1 when David was crowned in Chevron by all the tribes of Israel. We are told in Bereshit Rabbah 99,8 that when Yehudah saw that Yaakov suddenly served up Reuven’s sin, as well as that of his brother Shimon and Levi, he became afraid that his own sin with Tamar would be the next one to be referred to by his father. He only calmed down when Yaakov began his remarks to Yehudah with the words “your brothers will elevate you to the position of royalty because you had the strength of character to publicly acknowledge and repent your having slept with your daughter-in-law Tamar.”