Some history connections behind Daniel’s story …
God used Daniel to fulfill the words of the prophet Jeremiah:
15 And the Lord God of their fathers sent warnings to them by His messengers, rising up early and sending them, because He had compassion on His people and on His dwelling place. 16 But they mocked the messengers of God, despised His words, and scoffed at His prophets, until the wrath of the Lord arose against His people, till there was no remedy.
17 Therefore He brought against them the king of the Chaldeans, who killed their young men with the sword in the house of their sanctuary, and had no compassion on young man or virgin, on the aged or the weak; He gave them all into his hand.
18 And all the articles from the house of God, great and small, the treasures of the house of the Lord, and the treasures of the king and of his leaders, all these he took to Babylon. 19 Then they burned the house of God, broke down the wall of Jerusalem, burned all its palaces with fire, and destroyed all its precious possessions.
20 And those who escaped from the sword he carried away to Babylon, where they became servants to him and his sons until the rule of the kingdom of Persia, 21 to fulfill the word of the Lord by the mouth of Jeremiah, until the land had enjoyed her Sabbaths. As long as she lay desolate she kept Sabbath, to fulfill seventy years.” (2 Chronicles 36)
God gave them all into the hands of Nebuchadnezzar. He carried to Babylon all the articles from the temple of God, and the treasures of the king and his officials.
They set fire to God’s temple [built by Solomon] and broke down the wall of Jerusalem; they burned all the palaces and destroyed everything of value there.
NOTE: “It took seven years to complete the Temple. In the twelfth year of his reign, in 827 BCE, King Solomon dedicated the Temple and all its contents. The Ark of the Covenant was brought into the Temple amidst inaugural celebrations that lasted for seven days.”