"Then Daniel returned to his house and explained the matter to his friends Hananiah, Mishael and Azariah. He urged them to plead for mercy from the God of heaven concerning this mystery, so that he and his friends might not be executed with the rest of the wise men of Babylon." NIV translation
As we have seen, Daniel is a man of prayer and so he turns to the Lord for answers. He and his friends seek the answer to the dream from the Lord. We notice that he did not try everything else he could think of and then finally turn to prayer. We all have to ask ourselves whether we seek God's answers first (like Daniel) or as a last resort.
"During the night the mystery was revealed to Daniel in a vision. Then Daniel praised the God of heaven" NIV translation
Daniel was a man of prayer and not only did he take his problems and concerns to God but he praised Him when the prayer was answered. Many times we are quick to ask God for what we need but we do not always give Him thanks and praise when our Father answers us. There are those who say that God does not use visions and dreams today like He did here with Daniel but the prophet Joel said that it would happen to all of God's people in the last days.
Peter quoted Joel to explain what happened to the crowd at Pentecost (see Acts 2). There are those who say that Joel was only talking about the period of time when the apostles were sent out but, as we see from the quote, these events are happening and even more as the Day of the Lord approaches. The quote from Joel speaks of wonders in the heavens and those same events are described by John in Revelation 6.
"and said: 'Praise be to the name of God for ever and ever; wisdom and power are his.'" NIV translation
Daniel begins praising God by remembering the fact that He is the source of all wisdom and power. In our world today, everyone grows up thinking that they need a college degree and that, if you want wisdom, you have to go to college. We, like Daniel need to remember that wisdom comes from God not a professor, course, or school. God can use them but they are not the source of wisdom but only the tool that is used.
"'He changes times and seasons; he sets up kings and deposes them. He gives wisdom to the wise and knowledge to the discerning. He reveals deep and hidden things; he knows what lies in darkness, and light dwells with him.'" NIV translation
Daniel continues to praise God for giving wisdom and knowledge to men. He remembers that all authority is His as He is the one that places kings on their thrones and removes them at His will. He even causes the days to come and go as well as the different times of the year. As Creator of the world, God could have just created everything and turned it loose to sit back and watch but we know that He is active in all of His creation and it would all end without Him to sustain it.