The Judgment of Babylon
The judgment of the beast, and the end of Mystery Babylon, described in Daniel 7:26, are foreshadowed by this story.
drank wine in the presence of the thousand – the comparison here is to Rev 17:2; and 18:3: the inhabitants of the earth are drunk with the wine of the great harlot.
the gold and silver vessels…from the temple – these are the vessels mentioned in Daniel 1:2. Babylon, just as “Mystery Babylon the Great” has reached the height of corruption before its fall.
although you knew all this – the King of Babylon knew the truth from his grandfather, like the Beast, the King of Babylon in Revelation, see Daniel 11:37.
God has numbered your kingdom, and finished it – the reign of 70 years was prophesied by Jeremiah, “when seventy years are finished I will punish the King of Babylon,” (Jeremiah 25:12; 29:10); and likewise, Daniel is going to the number the days of the kingdom of the beast, in Daniel 8:14, and Daniel 12:11-12.
you have been weighed in the balances and found wanting – symbolizing the judgment of the beast, and Babylon.
your kingdom has been given to the Medes and Persians – a kind of coalition headed by Cyrus the Great of Persia.
the same night Belshazzar the Chaldean king was slain – see map below of the historical invasion