Nations that were destroyed
Allah said,
وَكَم مِّن قَرْيَةٍ أَهْلَكْنَاهَا
And a great number of towns We destroyed.
for defying Our Messengers and rejecting them. This behavior led them to earn disgrace in this life, which led them to disgrace in the Hereafter.
Allah said in other Ayat,
وَلَقَدِ اسْتُهْزِىءَ بِرُسُلٍ مِّن قَبْلِكَ فَحَاقَ بِالَّذِينَ سَخِرُواْ مِنْهُمْ مَّا كَانُواْ بِهِ يَسْتَهْزِءُونَ
And indeed (many) Messengers before you were mocked at, but their scoffers were surrounded by the very thing that they used to mock at. (6;10)
and,
فَكَأَيِّن مِّن قَرْيَةٍ أَهْلَكْنَـهَا وَهِىَ ظَالِمَةٌ فَهِىَ خَاوِيَةٌ عَلَى عُرُوشِهَا وَبِيْرٍ مُّعَطَّلَةٍ وَقَصْرٍ مَّشِيدٍ
And many a township did We destroy while they were given to wrongdoing, so that it lie in ruins (up to this day), and (many) a deserted well and lofty castle! (22;45)
and,
وَكَمْ أَهْلَكْنَا مِن قَرْيَةٍ بَطِرَتْ مَعِيشَتَهَا فَتِلْكَ مَسَـكِنُهُمْ لَمْ تُسْكَن مِّن بَعْدِهِمْ إِلاَّ قَلِيلً وَكُنَّا نَحْنُ الْوَرِثِينَ
And how many a town have We destroyed, which was thankless for its means of livelihood! And those are their dwellings, which have not been inhabited after them except a little. And verily, We have been the heirs. (28;58)
Allah's saying,
فَجَاءهَا بَأْسُنَا بَيَاتًا أَوْ هُمْ قَأيِلُونَ
Our torment came upon them by night or while they were taking their midday nap.
means, Allah's command, torment and vengeance came over them at night or while taking a nap in the middle of the day. Both of these times are periods of rest and leisure or heedlessness and amusement.
Allah also said
أَفَأَمِنَ أَهْلُ الْقُرَى أَن يَأْتِيَهُم بَأْسُنَا بَيَـتاً وَهُمْ نَأيِمُونَ
أَوَ أَمِنَ أَهْلُ الْقُرَى أَن يَأْتِيَهُمْ بَأْسُنَا ضُحًى وَهُمْ يَلْعَبُونَ
Did the people of the towns then feel secure against the coming of Our punishment by night while they were asleep! Or, did the people of the towns then feel secure against the coming of Our punishment in the forenoon while they were playing! (7;97-98)
and,
أَفَأَمِنَ الَّذِينَ مَكَرُواْ السَّيِّيَاتِ أَن يَخْسِفَ اللَّهُ بِهِمُ الاٌّرْضَ أَوْ يَأْتِيَهُمُ الْعَذَابُ مِنْ حَيْثُ لَا يَشْعُرُونَ
أَوْ يَأْخُذَهُمْ فِى تَقَلُّبِهِمْ فَمَا هُم بِمُعْجِزِينَ
أَوْ يَأْخُذَهُمْ عَلَى تَخَوُّفٍ فَإِنَّ رَبَّكُمْ لَرَوُوفٌ رَّحِيمٌ
Do then those who devise evil plots feel secure that Allah will not sink them into the earth, or that the torment will not seize them from directions they perceive not! Or that He may catch them in the midst of their going to and from, so that there be no escape for them! Or that He may catch them with gradual wastage.
Truly, Your Lord is indeed full of kindness, Most Merciful. (16;45-47)
Allah's saying;
فَمَا كَانَ دَعْوَاهُمْ إِذْ جَاءهُمْ بَأْسُنَا إِلاَّ أَن قَالُواْ إِنَّا كُنَّا ظَالِمِينَ