Ali 'Imran 3:137
قَدْ خَلَتْ مِن قَبْلِكُمْ سُنَنٌ فَسِيرُوا۟ فِى ٱلْأَرْضِ فَٱنظُرُوا۟ كَيْفَ كَانَ عَـٰقِبَةُ ٱلْمُكَذِّبِينَ
Qad khalat min qablikum sunanun faseeroofee al-ardi fanthuroo kayfa kanaAAaqibatu almukaththibeen
Similar situations [as yours] have passed on before you, so proceed throughout the earth and observe how was the end of those who denied.
Many patterns of behavior have passed before you. So, traverse the land and see what was the fate of those who rejected (the prophets).