After Daniel survived the lions’ den it says it was “because he believed in his God.”
“For he is the living God… he delivereth and rescueth.” Daniel 6:23, 26, 27
Talking about the “Ancient of days,” “And there was given him dominion, and glory, and a kingdom, that all people, nations, and languages, should serve him: his dominion is an everlasting dominion, which shall not pass away, and his kingdom that which shall not be destroyed.” Daniel 7:14
“Then said he unto me, fear not Daniel, for from the first day that thou didst set thine heart to understand, and to chasten thyself before thy God, thy words were heard, and I am come for thy words.” Daniel 10:12
We need to purpose in our heart to follow God's ways.