This was spoken to Belshazzar, son of Nebuchadnezzar. This was said to him by Daniel after the finger of God wrote on the guy's wall during a party. A few hours later Belshazzar was killed.
God told him that God had given Belshazzar a living parable in his father Nebuchadnezzar (who ended up praising God after 7 years cast out), but Belshazzar ignored it. God says to him, "Yet you, his son, Belshazzar, have not humbled your heart, even though you knew all this," Daniel 5:22
As we talked about praying for our president yesterday, this follows it. He and all leaders will be held accountable for what they did in the office God gave them. They all have the potential to do great good. Our part is to pray for them, but they will still be the one standing in front of God giving account for what they did with the earthly power He gave them.
That is scary.