A Reminder of Those Who were destroyed among the Previous Nations
Allah tells us about those past nations and the punishment and vengeance that struck them for their going against the Messengers and disbelieving in the Prophets, peace be upon them. We have already seen their stories in detail in numerous places (in the Qur'an). Allah says:
أُوْلَـئِكَ الاٌّحْزَابُ
(such were the Confederates.) meaning, `they were greater and stronger than you, they had more wealth and children, but that did not protect them from the punishment of Allah at all when the command of your Lord came to pass.' Allah says:
(Not one of them but denied the Messengers; therefore My torment was justified.) `The reason for their destruction was their disbelief in the Messengers, so let those who are addressed here beware and be afraid.'
أُولَـٰئِكَ الْأَحْزَابُ (They were the [ strong ] groups. - 38:13) One explanation of this statement is that it is the description of the word 'groups' in verse 11. In other words, 'these are the groups or Confederates that have been pointed out in this verse.' Maulana Thanavi (رح) has gone by this Tafsir in his explanation of the verse. But, other commentators explain it in the sense that actually they were the groups that were really strong, not these people of Makkah. In other words, those who possessed real strength and power were the people of Nuh and ` Ad and Thamud and others like them. Compared with them, the Mushrihs of Makkah were nothing. When such powerful people could not escape Divine punishment, they would hardly count. (Qurtubi)
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 10–15
God’s blessing of guidance is not meted out in such a way that one who is favoured with worldly greatness is also granted God’s guidance. If worldly greatness were enough to make people great in the eyes of God, it would have become possible for them to confer God’s grace on anybody they liked, while withholding blessings from all others. But the fact is that God bestows His grace by His own standards and not by those laid down by human beings on the basis of appearances.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.