Daniel 2:28

28 but there is a God in heaven who reveals mysteries, and he has disclosed to King Nebuchadnezzar what will happen at the end of days. Your dream and the visions of your head 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 to Daniel, whose name was Belteshazzar, "Are you able to tell me the dream that I have seen and its interpretation?"
27 Daniel answered the king, "No wise men, enchanters, magicians, or diviners can show to the king the mystery that the king is asking,
28 but there is a God in heaven who reveals mysteries, and he has disclosed to King Nebuchadnezzar what will happen at the end of days. Your dream and the visions of your head as you lay in bed were these:
29 To you, O king, as you lay in bed, came thoughts of what would be hereafter, and the revealer of mysteries disclosed to you what is to be.
30 But as for me, this mystery has not been revealed to me because of any wisdom that I have more than any other living being, but in order that the interpretation may be known to the king and that you may understand the thoughts of your mind.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.