Daniel 2:14-24 NKJV
Then with counsel and wisdom Daniel answered Arioch, the captain of the king’s guard, who had gone out to kill the wise men of Babylon; he answered and said to Arioch the king’s captain, “Why is the decree from the king so urgent?” Then Arioch made the decision known to Daniel.
So Daniel went in and asked the king to give him time, that he might tell the king the interpretation. 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.”
Therefore Daniel went to Arioch, whom the king had appointed to destroy the wise men of Babylon. He went and said thus to him: “Do not destroy the wise men of Babylon; take me before the king, and I will tell the king the interpretation.”
NKJV: New King James Version