Daniel 2:28

28 But there is a God in heaven who reveals mysteries, and He has let King Nebuchadnezzar know what will happen in the last days.[a] Your dream and the visions [that came into] your mind [as you lay] in bed were these:

Daniel 2:28 Meaning and Commentary

Daniel 2:28

But there is a God in heaven that revealeth secrets
By this Daniel meant to inform the king that there was but one God, in opposition to the notion of polytheism, that obtained among the Heathens; that this one God is in heaven, and presides over all persons and things on earth; and that to him alone belongs the revelation of secrets, and not to Heathen gods, or to any magician, astrologer; and of this kind was the king's dream, a secret impenetrable by men: and maketh known to the king Nebuchadnezzar what shall be in the latter
days:
in the latter days of his monarchy, which should be subverted, and succeeded by another; and in ages after that, during the Persian, Grecian, and Roman monarchies; and in the days of the Messiah, even in the latter of his days: thy dream, and the visions of thy head upon thy bed, are these;
which were of God, and of great importance; and, that the king might observe it, Daniel introduces these words with what goes before, and says what follows:

Daniel 2:28 In-Context

26 The king said in reply to Daniel, whose name was Belteshazzar, "Are you able to tell me the dream I had and its interpretation?"
27 Daniel answered the king: "No wise man, medium, diviner-priest, or astrologer is able to make known to the king the mystery he asked about.
28 But there is a God in heaven who reveals mysteries, and He has let King Nebuchadnezzar know what will happen in the last days. Your dream and the visions [that came into] your mind [as you lay] in bed were these:
29 Your Majesty, while you were in your bed, thoughts came [to your mind] about what will happen in the future. The revealer of mysteries has let you know what will happen.
30 As for me, this mystery has been revealed to me, not because I have more wisdom than anyone living, but in order that the interpretation might be made known to the king, and that you may understand the thoughts of your mind.

Footnotes 1

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.