Jehovah can foresee future events, and in the Scriptures he often tells us ahead of time what will happen.
وَهَبَنَا ٱللهُ ٱلْقُدْرَةَ عَلَى رَسْمِ صُوَرٍ ذِهْنِيَّةٍ لِأَشْيَاءَ لَمْ نَرَهَا مِنْ قَبْلُ .‏