[King Nebuchadnezzar] answered Daniel, and said, “Truly your God is the God of gods, the Lord of kings, and a revealer of secrets, since you could reveal this secret.” Daniel 2:47
Miracles occurred during the ministry of Moses, during the ministries of Elijah and Elisha, during the ministry of Jesus, and during the ministries of the apostles. In every case, they served to authenticate that the words being attributed to God were actually from God. And the miracles they performed had a dramatic effect on those who witnessed them.
Miracles also occurred during the life of Daniel in Babylon. When the King of Babylon had a dream, he insisted that his counselors first reveal the dream before declaring its meaning. They were shocked: Who could possibly know what another person dreamed? But it was a reasonable request. Otherwise, how could the king know the counselors truly had divine power? So God gave both the dream and its meaning to Daniel who then told the king. It was a miracle that had its intended effect. The king declared Daniel’s God to be the God of all gods.
We have these miracles recorded in Scripture for the same purpose: to remind us that Who is truly God of all gods.
The God of the Bible is God alone…all other gods are idols. R. B. Kuiper
Daniel 2:46-49, Daniel’s Promotion