You may be curious why I am having you read the chapters in Daniel out-of-order. It may seem random, but in the introduction to the book of Daniel, in the NIV Study Bible, this is the chronological order of the chapters. I never would have known the chapters were not chronological had I not read the introduction to the book. Daniel also studied the books of the scripture and in it he found the exiles would be in captivity for 70 years.
Daniel 9:2, “In the first year of his reign, I, Daniel, understood from the books the number of years which, according to the word of the Lord to Jeremiah the prophet, must pass by before the desolations [which had been] pronounced on Jerusalem should end; and it was seventy years. [Jer. 25:11, 12; 29:10.]”
We can even know what is going to happen during the end times.
Amplified Bible Notes: “The antichrist is in view from this point (Dan. 11:36) in the prophecy to the end of the chapter. (Dan. 11:45.) See 2 Thess. 2:4; Rev. 13:5-8.