Daniel 5 moves to a later king, Belshazzar. At a great feast to a thousand of his lords, he called for the golden and silver vessels that had been taken out of the temple in Jerusalem. The king and his guests drank wine from them, and praised the gods of gold, and of silver, of bronze, of iron, of wood, and of stone. Holy things set apart for God were used to praise idols.
In the same hour, the fingers of a man's hand came out and wrote near the lamp stand on the plaster of the wall. The king was terrified, and his wise men could not read the writing. The queen remembered Daniel, whom Nebuchadnezzar had made master of the magicians. Daniel refused the reward: Let your gifts be to yourself, and give your rewards to another. Nevertheless, I will read the writing to the king.
Daniel first told the story of Daniel 4. God humbled Nebuchadnezzar and taught him who really rules. Then he said, You, his son, Belshazzar, have not humbled your heart, though you knew all this. He added that the king had not glorified the God in whose hand your breath is. The writing read MENE, MENE, TEKEL, UPHARSIN. TEKEL: you are weighed in the balances, and are found wanting. In that night Belshazzar the Chaldean King was slain, and Darius the Mede received the kingdom.