Daniel 2:16-19King James Version (KJV)
16 Then Daniel went in, and desired of the king that he would give him time, and that he would shew the king the interpretation.
17 Then Daniel went to his house, and made the thing known to Hananiah, Mishael, and Azariah, his companions:
18 That they would desire mercies of the God of heaven concerning this secret; that Daniel and his fellows should not perish with the rest of the wise men of Babylon.
19 Then was the secret revealed unto Daniel in a night vision. Then Daniel blessed the God of heaven.