However Belshazzar knew the lesson of Nebuchadnezzar but did not humble himself. Instead he became full of pride, drank from the goblets of gold from the temple, praised the inferior gods of metal and wood but did not glorify God who made him king.
You his son, O Belshazzar, have not humbled your heart, though you knew all this; But has lifted up yourself against the Lord of heaven; and they have brought the vessels of his house before you, and you, your lords, your wives and your concubines, have drunk wine in them; and you have praised the gods of silver, gold, brass, iron, wood, and stone, which see not, nor hear, nor know: and the God in whose hand your breath is, and whose are all your ways, you have not glorified (Daniel 5:22, 23).
Mene, Mene, Tekel, Upharsin
Numbered, Numbered, Weighed, Divided
The writing on the wall was "Mene, Mene, Tekel, Upharsini" in the Aramaic language (right to left). It literally meant, "Numbered, numbered, weighed, divided." Your days are numbered and your kingdom is finished, you are weighed in the balances and are judged guilty and your kingdom is divided and given to the Meads and Persians.
This is the writing, Mene, Mene, Tekel, Upharsin. This is the interpretation of the thing: Mene; God hath numbered your kingdom, and finished it. Tekel; You are weighed in the balances, and are found wanting. Peres; Your kingdom is divided, and given to the Medes and Persians (Daniel 5:25-28).