The book of Daniel is both prophetic and apocalyptic (meaning concerning the end times). The first six chapters tell about Daniel, a Jewish youth exiled in Babylon and how he adheres to the law despite persecution and attempts on his life (fiery furnace, thrown to a den of hungry lions). The last six chapters tell of visions of persecution in the future for believers but that God’s Hand is in all events for those who believe and eternal life will be theirs.
This event in Daniel’s life is when the king of Babylon, Nebuchadnezzar, had a puzzling dream for which he demanded interpretation. He put to death the ‘wise men’ of his court who failed to explain to him the meaning of the dream. Daniel (long known to be wise) was consulted about the dream…he went home to talk to his faithful companions about it and they prayed.
Daniel 2: 19-23 During the night the mystery was revealed to Daniel in a vision, and he blessed the God of heaven:
“Blessed be the Name of God forever and ever, for wisdom and power are His. He causes the changes of the times and seasons, makes kings and unmakes them. He gives wisdom to the wise and knowledge to those who understand. He reveals deep and hidden things and knows what is in the darkness, for the light dwells with Him. To you, O God of my fathers, I give thanks and praise, because You have given me wisdom and power. Now You have shown me what we asked of You, You have made known to us the king’s dream.”
Daniel and his companions were rewarded with presents and employment in prestigious posts in the kingdom for interpreting King Nebuchadnezzar’s dream.