Eashoa came to fulfill this prophecy and He will come again to fulfill the other half of it. In Genesis 49 before Jacob passed, he prophesied over his fourth son, Judah, for the prophecy shall be fulfilled by One who would descend from his tribe — Eashoa — after 40 generations. From verse 8 to verse 9, it is in the First Advent. Verses 10 to 12 speak to the Second Coming of Eashoa.
40 generations from Jacob to Eashoa
Matthew 1 TLV
Forefathers of Eashoa the Messiah
1 The book of the genealogy[a] of Yeshua ha-Mashiach, Ben-David,[b]Ben-Avraham: 2 Abraham fathered Isaac, Isaac fathered Jacob, Jacob fathered Judah and his brothers, 3 Judah fathered Perez and Zerah by Tamar,[c] Perez fathered Hezron, Hezron fathered Ram, 4 Ram fathered Amminadab, Amminadab fathered Nahshon, Nahshon fathered Salmon, 5 Salmon fathered Boaz by Rahab, Boaz fathered Obed by Ruth,[d] Obed fathered Jesse, 6 and Jesse fathered David the king.
David fathered Solomon by the wife of Uriah, [e] 7 Solomon fathered Rehoboam, Rehoboam fathered Abijah, Abijah fathered Asa, 8 Asa fathered Jehoshaphat, Jehoshaphat fathered Joram, Joram fathered Uzziah, 9 Uzziah fathered Jotham, Jotham fathered Ahaz, Ahaz fathered Hezekiah, 10 Hezekiah fathered Manasseh, Manasseh fathered Amon, Amon fathered Josiah, 11 and Josiah fathered Jeconiah and his brothers at the time of the exile to Babylon.
12 After the Babylonian exile Jeconiah fathered Shealtiel, Shealtiel fathered Zerubbabel, 13 Zerubbabel fathered Abiud, Abiud fathered Eliakim, Eliakim fathered Azor, 14 Azor fathered Zadok, Zadok fathered Achim, Achim fathered Eliud, 15 Eliud fathered Eleazar, Eleazar fathered Matthan, Matthan fathered Jacob, 16 and Jacob fathered Joseph the husband of Miriam, from whom was born Yeshua who is called the Messiah. 17 So all the generations from Abraham to David are fourteen generations, from David until the Babylonian exile are fourteen generations, and from the Babylonian exile until the Messiah are fourteen generations.
In the First Advent the Moshiach came as a cub of lion. However, when He comes in the Second Coming, He shall come to rule Israel and the nations as One.

Beresheet 49
Judah, so you are—
your brothers will praise you:
Your hand will be on your enemies’ neck.
Your father’s sons will bow down to you.
9 A lion’s cub is Judah—
from the prey, my son,
you have gone up.
He crouches, lies down like a lion,
or like a lioness—
who would rouse him?[a]
10 The scepter will not pass from Judah,
nor the ruler’s staff from between his feet,[b]
until he to whom it belongs will come.
To him will be the obedience of the peoples.[c]
11 Binding his foal to the vine,
his donkey’s colt to the choice vine,[d]
he washes his garments in wine,
and in the blood of grapes his robe.[e]
12 His eyes are darker than wine,
and teeth that are whiter than milk.
Verse 11 by Jacob was explained by Isaiah later in the Kingdom of Judah where Isaiah operated as Elohim’s prophet. This scene is prophetically pointing to the Second Coming where YHVH will dip His vesture in blood.
Isaiah 63 Tree of Life Version (TLV)
Winepress of Vengeance
63 “Who is this coming from Edom,
in crimsoned garments from Bozrah?
This One splendid in His apparel,
pressing forward in His great might?”
“It is I who speak in righteousness,
mighty to save.”
2 “Why is Your apparel so red,
and Your garments like one who treads in a wine press?”[a]
3 “I have trodden the winepress alone—
from the peoples, no man was with Me.
I trod them in My anger,
and trampled them in My wrath.
Their lifeblood spattered My garments,
so I stained all My robes.
4 For a day of vengeance was in My heart,
and My year of redemption has come.
5 I looked, but there was no one to help.
I was amazed, but no one was assisting.
So My own arm won victory for Me,
and My wrath upheld Me.
6 So I trod down the peoples in My anger,
and made them drunk in My wrath,
and I poured out their lifeblood[b] on the earth.”
On the desert island of Patmos, John saw the same vision.
Revelation 19 Tree of Life Version (TLV)
Final Battle of this Age
11 Then I saw heaven opened,[i] and behold, a white horse! The One riding on it is called Faithful and True, and He judges and makes war in righteousness.
12 His eyes are like a flame of fire, and many royal crowns are on His head. He has a name written that no one knows except Himself. 13 He is clothed in a robe dipped in blood,[j] and the name by which He is called is “the Word of God.”
14 And the armies of heaven, clothed in fine linen, white and clean, were following Him on white horses. 15 From His mouth comes a sharp sword—so that with it He may strike down the nations—and He shall rule them with an iron rod, and He treads the winepress of the furious wrath of Elohei-Tzva’ot. [k] 16 On His robe and on His thigh He has a name written, “King of kings, and Lord of lords.”[l]
17 Then I saw a single angel standing in the sun, and with a loud voice he cried out to all the birds flying high in the sky, “Come, gather for the great banquet of God— 18 to eat the flesh of kings and the flesh of generals and the flesh of mighty men, the flesh of horses and those riding on them, the flesh of all men, both free and slave, both small and great!”
Let the Remnant of the Lord prepare for His soon coming Return.