In Daniel 11:4 there is established kingdoms of the north, the south, the east, and the west.
From Daniel 11:5-31, the conflicts in those verses are between a series of kings from the north versus a series of kings from the south in ancient times. That last of which was Antiochus IV in Daniel 11:31.
Daniel 11:32-35 are transition verses, from ancient times 2000 years to the time of the end - end times.
Daniel 11:36-45 refers to the end times.
Daniel 11:40-44 speaks to conflicts between
the king of the west versus
the king of the south, the king of the north, the kings of the east.
In Revelation 16:12, the sixth angel having a vial of God's wrath is poured out - drying up the Euphrates - making it easier for the kings of the east to march westward to attack the beast king, king of the west. The drying up of the Euphrates also will release the four evil angels bound in it in Revelation 9:14, which partake in the killing of a third part of mankind - as the 200,000,000 size armies of the kings of east march westward.
I show all those things on my graphic, called Prelude to Armageddon. It is a prelude because at the height of the battles, suddenly the Sign of the Son of Man in heaven will appear - Jesus sickle in hand, His intent obvious - to execute judgment on the wicked men of the earth who had martyred the great tribulation saints. The sixth seal event is Jesus appearing, which will send terror into all the wicked on the earth.
So, in reaction, the fighting will stop, and the kings of the earth will unite under the beast-king's leadership and prepare to make war on Jesus. They will gather their armies at Armageddon for the purpose of preparing to make war on Jesus and His armies of heaven.
In Daniel 11:45, the beast-king will then meet his end on the temple mount, located between the seas, as it says in that verse.
Below are my two graphics. First graphic (Daniel 11:40-44) of the prelude to Armageddon. Second graphic (Daniel 11:45) of Between the seas. You can click on either graphic to get a better view.
View attachment 55908
View attachment 55909