God shows the dream to Daniel
17 Then Daniel went to his home. He told his friends, Hananiah, Mishael and Azariah what had happened. 18 He told them that they should pray to God in heaven. They should pray that God would help them with this problem. They should ask God to keep them safe. Then they would not die with all the other wise men of Babylon. 19 During the night, Daniel had a vision. God showed him the secret of the king's dream. Then Daniel praised the God of heaven. 20 He said,
‘Praise God's great name for ever!
He has great wisdom and great power.
21 He makes things happen at the right time.
He gives to some kings the authority to rule.
And he takes that authority away from other kings.
He causes some people to become wise.
He helps people to understand the things that they learn.
22 He explains difficult problems and secret things.
He knows about all things,
even when they are in dark places.
He himself lives in the light.
23 My ancestors' God,
I thank you and I praise you!
You have made me wise
and you have made me strong.
We asked you to help us,
and now you have shown me your answer.
You have explained the king's problem to us.
So I thank you.’
24 So Daniel went to see Arioch, the king's officer. The king had told Arioch to kill all the wise men of Babylon. But Daniel said to him, ‘Do not kill Babylon's wise men. Take me to the king. Then I will tell the king what his dream means.’
25 Then Arioch quickly took Daniel to see the king. He said, ‘I have found this man, who is one of the people that you brought from Judah. He can tell you, sir, what your dream means.’
26 The king spoke to Daniel (whose other name was Belteshazzar). He asked Daniel, ‘Can you tell me my dream? And can you tell me what it means?’
27 Daniel answered the king, ‘Sir, your dream is a secret. No wise men, enchanters, magicians or diviners can tell you about it. 28 But there is a God in heaven. He explains secret things. In your dream, he has shown you what will happen in future years. Now I will tell you the dream and the visions that you had while you lay on your bed.
29 While you lay on your bed, you dreamed about future times. God explains secret things, and he has shown you what will happen in future years. 30 I am not more wise than other people. But God has explained your secret dream to me, because he wants you to know what it means. He wants you to understand the thoughts in your mind.’