Then Daniel went to his house, and made the decision known to Hananiah, Mishael, and Azariah, his companions, that they might seek mercies from the God of heaven concerning this secret, so that Daniel and his companions might not perish with the rest of the wise men of Babylon.
Then the secret was revealed to Daniel in a night vision. So Daniel blessed the God of heaven. Daniel answered and said:
“Blessed be the name of God forever and ever,
For wisdom and might are His.
And He changes the times and the seasons;
He removes kings and raises up kings;
He gives wisdom to the wise
And knowledge to those who have understanding.
He reveals deep and secret things;
He knows what is in the darkness,
And light dwells with Him.
“I thank You and praise You,
O God of my fathers;
You have given me wisdom and might,
And have now made known to me what we asked of You,
For You have made known to us the king’s demand.” – Daniel 2:17-23 (KJV)