You are reading a tafsir for the group of verses 6:45 to 6:50

In the last verse (45), it was said that, when the mass punishment of Allah Ta` ala came, the people who did wrong were uprooted to the last man. Said immediately after was: وَالْحَمْدُ لِلَّـهِ رَ‌بِّ الْعَالَمِينَ (And praise be to Allah, the Lord of the worlds) where the hint given is: Whenever the wrongdoers and the unjust are visited by some punishment or calamity, that is a blessing for the whole world for which people should be grateful.