Daniel 2:28

28 but there is a God in heaven who reveals secrets, and he has made known to the king Nevukhadnetztzar what shall be in the latter days. Your dream, and the visions of your head on your bed, are 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 answered Daniyel, whose name was Belteshatztzar, Are you able to make known to me the dream which I have seen, and the interpretation of it?
27 Daniyel answered before the king, and said, The secret which the king has demanded can neither wise men, enchanters, magicians, nor soothsayers, show to the king;
28 but there is a God in heaven who reveals secrets, and he has made known to the king Nevukhadnetztzar what shall be in the latter days. Your dream, and the visions of your head on your bed, are these:
29 as for you, O king, your thoughts came [into your mind] on your bed, what should happen hereafter; and he who reveals secrets has made known to you what shall happen.
30 But as for me, this secret is not revealed to me for any wisdom that I have more than any living, but to the intent that the interpretation may be made known to the king, and that you may know the thoughts of your heart.
The Hebrew Names Version is in the public domain.