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.