A Midrash taught that the words "Judah, you shall your brothers praise" in signify that because (in , in connection with his daughter-in-law Tamar) Judah confessed (the same word as "praise"), Judah's brothers would praise Judah in this world and in the World To Come (accepting descendants of Judah as their king). And in accordance with Jacob's blessing, 30 kings descended from Judah, for as reports, David descended from Judah, and if one counts David, Solomon, Rehoboam, Abijah, Asa, Jehoshaphat and his successors until Jeconiah and Zedekiah (one finds 30 generations from Judah's son Perez to Zedekiah). And so the Midrash taught it shall be in the World To Come (the Messianic era), for as foretells, "And David My servant shall be their prince forever."