God had revealed the answer to Daniel (Dan 2:28-2:28)

“But there is a God in heaven

Who reveals mysteries.

He has disclosed

To King Nebuchadnezzar

What will happen

At the end of days.

Your dream

With the visions

Of your head

Came

As you lay in bed.”

Daniel seemed to be a favorite of the God in heaven. Daniel received many of these visions with interpretations about the end of days, the end times, the end of the world. Only God could reveal this mystery to Daniel. This same God had revealed to King Nebuchadnezzar what was going to happen, as he was laying in his bed. Thus, Daniel made the king feel important.