Jeremiah 51:60 So Jeremiah wrote in a book all the evil that should come upon Babylon, even all these words that are written against Babylon.
God told Jeremiah. Jeremiah wrote it in a book before it ever happened. God would punish Babylon for their sin against Him and against His people.
To me this cries out that you have a God that knows the future. You have a God that will accomplish His purposes. You have a God that can give you a book that will come true. God is above all. He is the maker of all. He is everything.
So when you read the Bible it shouldn’t surprise you that He tells you the future. It is His to tell. He is able. He is God.