17 Then Daniel went to his house and informed his friends, Hananiah, Mishael and Azariah, about the matter, 18 so that they might request compassion from the God of heaven concerning this mystery, so that Daniel and his friends would not be destroyed with the rest of the wise men of Babylon. 19 Then the mystery was revealed to Daniel in a night vision. Then Daniel blessed the God of heaven;
20 Daniel said, "Let the name of God be blessed forever and ever, For wisdom and power belong to Him. 21 "It is He who changes the times and the epochs; He removes kings and establishes kings; He gives wisdom to wise men And knowledge to men of understanding. 22 "It is He who reveals the profound and hidden things; He knows what is in the darkness, And the light dwells with Him. 23 "To You, O God of my fathers, I give thanks and praise, For You have given me wisdom and power; Even now You have made known to me what we requested of You, For You have made known to us the king's matter."
24 Therefore, Daniel went in to Arioch, whom the king had appointed to destroy the wise men of Babylon; he went and spoke to him as follows: "Do not destroy the wise men of Babylon! Take me into the king's presence, and I will declare the interpretation to the king."
25 Then Arioch hurriedly brought Daniel into the king's presence and spoke to him as follows: "I have found a man among the exiles from Judah who can make the interpretation known to the king!" 26 The king said to Daniel, whose name was Belteshazzar, "Are you able to make known to me the dream which I have seen and its interpretation?" 27 Daniel answered before the king and said, "As for the mystery about which the king has inquired, neither wise men, conjurers, magicians nor diviners are able to declare it to the king. 28 "However, there is a God in heaven who reveals mysteries, and He has made known to King Nebuchadnezzar what will take place in the latter days This was your dream and the visions in your mind while on your bed. 29 "As for you, O king, while on your bed your thoughts turned to what would take place in the future; and He who reveals mysteries has made known to you what will take place. 30 "But as for me, this mystery has not been revealed to me for any wisdom residing in me more than in any other living man, but for the purpose of making the interpretation known to the king, and that you may understand the thoughts of your mind.