Daniel 2:22-28
Daniel 2:22
He revealeth the deep and secret things: he knoweth what is in the darkness, and the light dwelleth with him.
Daniel continues in his prayer stating that it is God who reveals the deep and secret things.  The word “deep” carries with it the idea of unsearchable.  Man of himself has no ability to search out that which God has kept hidden.  Unless God reveals the secret things, man will not know and this is what Daniel is praying as he finds out how God is the only one who reveals the hidden things.  God also knows the things that are done in darkness and it is the light that is within him exposes those things.  God also knows those things which are hidden and only His light can reveal those sayings which are in darkness, beyond the reach of man.  Proverbs 1:6 (KJV) To understand a proverb, and the interpretation; the words of the wise, and their dark sayings.
Daniel 2:23
I thank thee, and praise thee, O thou God of my fathers, who hast given me wisdom and might, and hast made known unto me now what we desired of thee: for thou hast now made known unto us the king's matter.
Daniel now praises God and thanks Him for the revelation of the dream which he sought for on behalf of the King.  God has given Daniel great wisdom showing that all the occult counselors could never have the wisdom a true child of God has and what the child of God lacks, he can always go to God and ask for wisdom in any matter.  Daniel also mentions that fact that it was not only him that prayed but there was unity in prayer among the three companions of his who also sought the Lord for the answer.  Now that they had the answer to the King’s demand, they are now ready to approach him.
Daniel 2:24
Therefore Daniel went in unto Arioch, whom the king had ordained to destroy the wise men of Babylon: he went and said thus unto him; Destroy not the wise men of Babylon: bring me in before the king, and I will shew unto the king the interpretation.
Daniel went into see Arioch and the verse states that it was his task to destroy all the wise men of Babylon.  Daniel now approaches him and counsels that he should not destroy all the wise men in Babylon because he is now in possession of the answer that the King is demanding.  He then asks Arioch to bring him in to see the King and he will show him the interpretation.  Another great principle emerges here and that is when God gives one of His children wisdom in a situation, they can face it with the uttermost confidence without fear.
Daniel 2:25  Then Arioch brought in Daniel before the king in haste, and said thus unto him, I have found a man of the captives of Judah, that will make known unto the king the interpretation.
Arioch was building up his reputation a little before the King.  He told him that “he found” a man among the captives of Judah when it was Daniel that responded to him concerning the answer for the King.  Arioch initially approached Daniel to kill him and not to ask his assistance.  Arioch assures the King that Daniel has the details and interpretation of his dream.  Arioch then brought Daniel before the King in haste probably before any killing of the wise men took place.
Daniel 2:26
The king answered and said to Daniel, whose name was Belteshazzar, Art thou able to make known unto me the dream which I have seen, and the interpretation thereof?
The King then asked Daniel if he was able to give him both details and the interpretation of his dream.  This will be the first contact Nebuchadnezzar would have with the God of Heaven through his people but not the last and eventually he would come to the knowledge that there is only God and Marduk wasn’t it.
Daniel 2:27
Daniel answered in the presence of the king, and said, The secret which the king hath demanded cannot the wise men, the astrologers, the magicians, the soothsayers, shew unto the king;
Daniel knew that the other counselors could in no way show the King the details and interpretation of the dream since it was God who gave him the dream and only God would give the meaning of it.  Since this was a prophetic dream, the false gods of Babylon were totally useless unless stone could speak, which it can’t.  The God of Heaven is the only one who knows the end from the beginning in every matter and also this world’s existence. 
Revelation 1:8 (KJV)   I am Alpha and Omega, the beginning and the ending, saith the Lord, which is, and which was, and which is to come, the Almighty.
Revelation 22:13 (KJV)   I am Alpha and Omega, the beginning and the end, the first and the last.
God who is the Alpha and Omega, beginning and the end, written in the book of Revelation at the beginning and at the end.
Daniel 2:28
But there is a God in heaven that revealeth secrets, and maketh known to the king Nebuchadnezzar what shall be in the latter days. Thy dream, and the visions of thy head upon thy bed, are these;
Daniel knew that Babylon was a polytheistic society and he is straightly telling the King that there is a God in Heaven who reveals secrets and also what will be happening in the latter days.  The word “latter” is an Aramaic preposition which carries with it the meaning of “after this.”  So it can be understood that Daniel is stating “after these days.” He is basically telling us that Nebuchadnezzar’s dream is a progression of time through the ages that follow through various earthly kingdoms which will come and go until the last day.  The dream begins with the empire of Babylon and progresses through time till we come to the time of the time of Messiah.  It will also include his last days and when we get to the end of the book of Daniel, we will see it includes the general resurrection of all believers.  Further, when we speak of the latter days, the Bible speaks about the time from the cross to the return of Christ on the last day. 
Hebrews 1:2 (KJV)   Hath in these last days spoken unto us by his Son, whom he hath appointed heir of all things, by whom also he made the worlds;
God will be focusing in on the earthly kingdoms which will progress through the ages while focusing on the Kingdom of God which never ends.  Then Daniel begins to give Nebuchadnezzar the details and the meaning of his dream and night visions.