Daniel said God sent his angel and shut the lions’ mouths. Darius found him unharmed and said Daniel was delivered because he trusted in his God. Daniel 6:22–23
In Daniel 6:18–23, the king spends a sleepless night after Daniel is sealed in the lions’ den. He refuses food and entertainment, then rushes to the den at first light. Calling out in distress, he asks whether Daniel’s God can rescue him. This scene completes the tension set up earlier in Daniel 6: Daniel is trapped by a court-made rule that targets his regular prayer, and the king is trapped by his own unchangeable decree.
The passage highlights a full night of royal anxiety and a morning that functions like a public check on what happened in the lions’ den. The king’s fasting, lack of entertainment, and sleeplessness show he is not emotionally detached from Daniel’s fate (explicit in verse 18).
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with Daniel 6:22-23, then read the surrounding section so the answer stays connected to the passage's flow.
22My God has sent his angel, and has shut the lions` mouths, and they have not hurt me; because as before him innocence was found in me; and also before you, O king, have I done no hurt.
23Then was the king exceeding glad, and commanded that they should take Daniel up out of the den. So Daniel was taken up out of the den, and no manner of hurt was found on him, because he had trusted in his God.