In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
Allaah [The Most High] said:
قَدْ خَلَتْ مِنْ قَبْلِكُمْ سُنَنٌ فَسِيرُوا فِي الْأَرْضِ فَانْظُرُوا كَيْفَ كَانَ عَاقِبَةُ الْمُكَذِّبِينَ
Many similar ways [and mishaps of life] were faced by nations that have passed away before you, so travel through the earth, and see what was the end of those who disbelieved. [3:137]
Imaam Ibnul Qayyim [rahimahullaah] said: Indeed there were nations like yourselves before you, so look to their evil end. You have to know that the cause of that [i.e. their evil end] was due to their disbelief in the revelations of Allaah and disbelief in Allaah’s Messengers. They were the ancestors and you are the descendants. The main affair that connects [you to each other] is your disbelief and the ruling on that [disbelief] is destruction. [Source: I’laam Al-Muwaqqi-een: 1/181]
If it is said: what is the benefit in narrating to us the stories of the destroyed nations, despite the fact that this Ummah will not be completely destroyed in a manner similar to the destruction of the previous nations before it?
The Answer: Indeed, this has two benefits: The first (benefit): A clarification of Allaah’s blessings upon us that (the occurrence of a) complete destruction is removed from us, and that were it not for Allaah’s Benevolence we would have been deserving of it.
Secondly: The likeness of the punishment they (received) may occur in the hereafter for the one who did what they did, if punishment was not received in the worldly life. And this may be understood from the statement of (Allaah): ”Such is the Seizure of your Lord when He seizes the (population of) towns while they are doing wrong. Verily, His Seizure is painful, and severe. Indeed in that (there) is a sure lesson for those who fear the torment of the Hereafter.” So what is apparent from (this ayah) is that what is similar to the punishment (they received) will happen in the Hereafter, and Allaah knows best. [Source: Al-Muntaqaa Min Fawaa-idil Fawaa-id 123-124 of Imaam Muhammad Bin Saaleh al-Uthaymeen (rahimahullaah)]