"Then King Nebuchadnezzar fell prostrate before Daniel and paid him honor and ordered that an offering and incense be presented to him. The king said to Daniel, 'Surely you God is the God of gods and the Lord of kings and a revealer of mysteries, for you were able to reveal this mystery.'" NIV translation
In this passage, we see the reason for God doing this wonderful thing through Daniel and that is so that God would be honored and worshiped. That was the same reason that Jesus and the apostles did miracles and wondrous signs. It is also the reason that signs and wonders will occur even more often in the last days.
By being obedient to God, Daniel was shown favor by men. That same type of thing can happen with us today as we walk out our faith. Many times, when those around you see the Spirit of God at work in your life, they will want to bless you and that is favor from God.
"Moreover, at Daniel's request the king appointed Shadrach, Meshach and Abednego administrators over the province of Babylon, while Daniel himself remained at the royal court." NIV translation
We see from this passage that Daniel was able to bless the men that had been with him because of his favor with the king. The same thing happens today as we are given the opportunity to bless those around us because of the favor of God upon our lives.