Daniel 2:29

29 “As Your Majesty was lying there, your mind turned to things to come, and the revealer of mysteries showed you what is going to happen.

Read Daniel 2:29 Using Other Translations

As for thee, O king, thy thoughts came into thy mind upon thy bed, what should come to pass hereafter: and he that revealeth secrets maketh known to thee what shall come to pass.
To you, O king, as you lay in bed came thoughts of what would be after this, and he who reveals mysteries made known to you what is to be.
“While Your Majesty was sleeping, you dreamed about coming events. He who reveals secrets has shown you what is going to happen.

What does Daniel 2:29 mean?

John Gill's Exposition of the Bible
Daniel 2:29

As for thee, O king
So far as thou hast any concern in this matter, or with respect to thee, the following was thy case; these the circumstances and situation in which thou wert: thy thoughts came into thy mind upon thy bed, which should come to pass
as he lay on his bed, either sleeping or waking, very probably the latter, his thoughts were employed about this great monarchy he had erected, and what would be the issue of it; and was very desirous of knowing what successors he should have in it, and how long it would continue, and what would be the fate of it; when he fell asleep upon this, and had a dream agreeable to his waking thoughts: and he that revealeth secrets:
a periphrasis of the God of heaven, as in the preceding verse: maketh known unto thee what shall come to pass;
this he did by the dream he gave him, though he had forgot it; and now by restoring that, and the interpretation of it, by Daniel.

California - Do Not Sell My Personal Information  California - CCPA Notice