Then Daniel responded with prudence and discretion to Arioch, the king's chief executioner, who had gone out to execute the wise men of Babylon;
he asked Arioch, the royal official, "Why is the decree of the king so urgent?" Arioch then explained the matter to Daniel.
So Daniel went in and requested that the king give him time and he would tell the king the interpretation.
Then Daniel went to his home and informed his companions, Hananiah, Mishael, and Azariah,
and told them to seek mercy from the God of heaven concerning this mystery, so that Daniel and his companions with the rest of the wise men of Babylon might not perish.
Then the mystery was revealed to Daniel in a vision of the night, and Daniel blessed the God of heaven.
Daniel said: "Blessed be the name of God from age to age, for wisdom and power are his.
He changes times and seasons, deposes 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 light dwells with him.
To you, O God of my ancestors, I give thanks and praise, for you have given me wisdom and power, and have now revealed to me what we asked of you, for you have revealed to us what the king ordered."
Therefore Daniel went to Arioch, whom the king had appointed to destroy the wise men of Babylon, and said to him, "Do not destroy the wise men of Babylon; bring me in before the king, and I will give the king the interpretation."