17 And he went into his house and explained the task to Hananiah, and Mishael, and Azariah, his companions,
18 so that they would seek mercy before the face of the God of heaven, about this mystery, and so that Daniel and his companions might not perish with the other wise men of Babylon.
19 Then the secret was revealed to Daniel by a vision in the night. And Daniel blessed the God of heaven,
20 and speaking aloud, he said, "May the name of the Lord be blessed by the present generation and for ever; for wisdom and fortitude are his.
21 And he alters the times and the ages. He takes away kingdoms and he establishes them. He gives wisdom to those who are wise and teaching skills to those who understand.
22 He reveals deep and hidden things, and he knows what has been established in darkness. And the light is with him.
23 To you, God of our fathers, I confess, and you, I praise. For you have given wisdom and fortitude to me, and now you have revealed to me what we asked of you, for you have uncovered for us the king's thoughts."