Quran 12:109 from Surah Yusuf on Divine Marvels.
وَمَآ أَرۡسَلۡنَا مِن قَبۡلِكَ إِلَّا رِجَالٗا نُّوحِيٓ إِلَيۡهِم مِّنۡ أَهۡلِ ٱلۡقُرَىٰٓۗ أَفَلَمۡ يَسِيرُواْ فِي ٱلۡأَرۡضِ فَيَنظُرُواْ كَيۡفَ كَانَ عَٰقِبَةُ ٱلَّذِينَ مِن قَبۡلِهِمۡۗ وَلَدَارُ ٱلۡأٓخِرَةِ خَيۡرٞ لِّلَّذِينَ ٱتَّقَوۡاْۚ أَفَلَا تَعۡقِلُونَ
English translation: And not We sent before you before you but men We revealed to them from (among) (the) people (of) the townships So have not they traveled in the earth and seen how was (the) end (of) those who (were) before them (were) before them And surely the home (of) the Hereafter (is) best for those who fear Allah Then will not you use reason
Transliteration: wama arsalna min qablika illa rijalan nuhi ilayhim min ahli al-qura afalam yasiru fi al-ardi fayanzuru kayfa kana aqibatu alladhina min qablihim waladaru al-akhirati khayrun lilladhina ittaqaw afala ta'qiluna