16 Daniel went at once and obtained royal permission for more time, so that he could tell the king what the dream meant.
17 Then Daniel went home and told his friends Hananiah, Mishael, and Azariah what had happened.
18 He told them to pray to the God of heaven for mercy and to ask him to explain the mystery to them so that they would not be killed along with the other advisers in Babylon.
19 Then that same night the mystery was revealed to Daniel in a vision, and he praised the God of heaven:
20 “God is wise and powerful!Praise him for ever and ever.
21 He controls the times and the seasons;he makes and unmakes kings;it is he who gives wisdom and understanding.
22 He reveals things that are deep and secret;he knows what is hidden in darkness,and he himself is surrounded by light.