The Holy Quran 46:3 — Surah Al-Ahqaf
Arabic text
مَا خَلَقْنَا ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضَ وَمَا بَيْنَهُمَآ إِلَّا بِٱلْحَقِّ وَأَجَلٍ مُّسَمًّى ۚ وَٱلَّذِينَ كَفَرُوا۟ عَمَّآ أُنذِرُوا۟ مُعْرِضُونَ
Translation
We have created the heavens, the earth and whatever is between the two with wisdom (for specific purposes) and (for) a specified term (until the time of their deaths or until the Day of Qiyaamah when everything will come to an end). The Kuffaar turn away from the warnings they are given (and are not fearful of the end).
Tafsir (excerpt) — Tafsir Usmani
The purpose of the creation of the universe: that is, Almighty Allah did not make the heavens and the earth and this whole workshop [of creation] in vain; rather, He created it for a particular aim and purpose, and it will go on running like this until an appointed term and a fixed, promised time, until its outcome becomes manifest.
Preview. The full text opens with JavaScript enabled.