Daniel 2:28-29
2:28 However, there is a God in heaven who reveals mysteries, and he has made known to King Nebuchadnezzar what will happen in the times to come. The dream and the visions you had while lying on your bed are as follows.
2:29 “As for you, O king, while you were in your bed your thoughts turned to future things. The revealer of mysteries has made known to you what will take place.