Quran 8:42 from Surah Al-Anfaal on Divine Marvels.
إِذۡ أَنتُم بِٱلۡعُدۡوَةِ ٱلدُّنۡيَا وَهُم بِٱلۡعُدۡوَةِ ٱلۡقُصۡوَىٰ وَٱلرَّكۡبُ أَسۡفَلَ مِنكُمۡۚ وَلَوۡ تَوَاعَدتُّمۡ لَٱخۡتَلَفۡتُمۡ فِي ٱلۡمِيعَٰدِ وَلَٰكِن لِّيَقۡضِيَ ٱللَّهُ أَمۡرٗا كَانَ مَفۡعُولٗا لِّيَهۡلِكَ مَنۡ هَلَكَ عَنۢ بَيِّنَةٖ وَيَحۡيَىٰ مَنۡ حَيَّ عَنۢ بَيِّنَةٖۗ وَإِنَّ ٱللَّهَ لَسَمِيعٌ عَلِيمٌ
English translation: When you (were) on side of the valley the nearer and they (were) on the side the farther and the caravan (was) lower than you And if you (had) made an appointment certainly you would have failed in the appointment But that might accomplish Allah a matter (that) was destined that (might be) destroyed (those) who (were to be) destroyed on a clear evidence and (might) live (those) who (were to) live on a clear evidence And indeed Allah (is) All-Hearing All-Knowing
Transliteration: idh antum bil-'ud'wati al-dun'ya wahum bil-'ud'wati al-qus'wa wal-rakbu asfala minkum walaw tawa'adttum la-ikh'talaftum fi al-mi'adi walakin liyaqdiya al-lahu amran kana maf'ulan liyahlika man halaka an bayyinatin wayahya man hayya an bayyinatin wa-inna al-laha lasami'un alimun