Daniel 2:14-23 ESV
Then Daniel replied with prudence and discretion to Arioch, the captain of the king’s guard, who had gone out to kill the wise men of Babylon. He declared to Arioch, the king’s captain, “Why is the decree of the king so urgent?” Then Arioch made the matter known to Daniel. And Daniel went in and requested the king to appoint him a time, that he might show the interpretation to the king.
Then Daniel went to his house and made the matter known to Hananiah, Mishael, and Azariah, his companions, and told them to seek mercy from the God of heaven concerning this mystery, so that Daniel and his companions might not be destroyed with the rest of the wise men of Babylon. Then the mystery was revealed to Daniel in a vision of the night. Then Daniel blessed the God of heaven. Daniel answered and said:
“Blessed be the name of God forever and ever,
to whom belong wisdom and might.
He changes times and seasons;
he removes kings and sets up kings;
he gives wisdom to the wise
and knowledge to those who have understanding;
he reveals deep and hidden things;
he knows what is in the darkness,
and the light dwells with him.
To you, O God of my fathers,
I give thanks and praise,
for 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 matter.”
ESV: English Standard Version 2016