O king, as you were lying there, you thought about things to come. God, who can tell people about secret things, showed you what is going to happen.