God brought judgment against Judah by sending them to Babylon. Despite being taken captive, Daniel was a man of good character, prayer and faith. God put him in leadership to protect his people. Through Daniel, God revealed important prophecies for Israel, the nations and exact timing of Jesus Christ's sacrifice on the cross. Then Daniel introduces prophetic themes expanded in Revelation such as the seven years of Tribulation and the little horn (Antichrist) who rules the lion/bear/leopard (beast).
There is a God in heaven that reveals secrets, and makes known to the king Nebuchadnezzar what shall be in the latter days (
Daniel 2:28).