14Then Daniel returned answer with counsel and prudence to Arioch the captain of the king’s guard, who was gone forth to slay the wise men of Babylon;
15he answered and said to Arioch the king’s captain, Wherefore is the decree so urgent from the king? Then Arioch made the thing known to Daniel.
16And Daniel went in, and desired of the king that he would appoint him a time, and he would show the king the interpretation.
17Then Daniel went to his house, and made the thing known to Hananiah, Mishael, and Azariah, his companions:
18that they would desire mercies of the God of heaven concerning this secret; that Daniel and his companions should not perish with the rest of the wise men of Babylon.
19Then was the secret revealed unto Daniel in a vision of the night. Then Daniel blessed the God of heaven.
20Daniel answered and said, Blessed be the name of God for ever and ever; for wisdom and might are his.
21And he changeth the times and the seasons; he removeth kings, and setteth up kings; he giveth wisdom unto the wise, and knowledge to them that have understanding;
22he revealeth the deep and secret things; he knoweth what is in the darkness, and the light dwelleth with him.
23I thank thee, and praise thee, O thou God of my fathers, who hast given me wisdom and might, and hast now made known unto me what we desired of thee; for thou hast made known unto us the king’s matter.