Tafsir Ibn Kathir -> Surah Al-Qasas -> His People learned a Lesson from Him being swallowed up

Allah's saying:

﴿وَأَصْبَحَ الَّذِينَ تَمَنَّوْاْ مَكَانَهُ بِالاٌّمْسِ﴾

(And those who had desired his position the day before,) means, those witnessed him with his finery and said:

﴿قَالَ الَّذِينَ يُرِيدُونَ الْحَيَوةَ الدُّنْيَا يلَيْتَ لَنَا مِثْلَ مَآ أُوتِىَ قَـرُونُ إِنَّهُ لَذُو حَظٍّ عَظِيمٍ﴾

(Those who were desirous of the life of the world, said: "Ah, would that we had the like of what Qarun has been given! Verily, he is the owner of a great fortune.'') When he was swallowed up in the earth, they began to say:

﴿وَيْكَأَنَّ اللَّهَ يَبْسُطُ الرِّزْقَ لِمَن يَشَآءُ مِنْ عِبَادِهِ وَيَقْدِرُ﴾

(Know you not that it is Allah Who expands the provision or restricts it to whomsoever He pleases of His servants.) Wealth does not indicate that Allah is pleased with its owner, for Allah gives and withholds, allows times of difficulty and times of ease, raises and lowers, His is the most complete wisdom and most convincing proof. According to a Hadith narrated by Ibn Mas`ud,

«إِنَّ اللهَ قَسَمَ بَيْنَكُمْ أَخْلَاقَكُمْ كَمَا قَسَمَ أَرْزَاقَكُمْ، وَإِنَّ اللهَ يُعْطِي الْمَالَ مَنْ يُحِبُّ وَمَنْ لَا يُحِبُّ، وَلَا يُعْطِي الْإِيمَانَ إِلَّا مَنْ يُحِب»

(Allah has alloted character among you just as He has alloted your provision. Allah gives wealth to those whom He loves and those whom He does not love, but He gives Faith only to those whom He loves.)

﴿لَوْلا أَن مَّنَّ اللَّهُ عَلَيْنَا لَخَسَفَ بِنَا﴾

(Had it not been that Allah was Gracious to us, He could have caused the earth to swallow us up!) meaning, `were it not for the kindness and grace of Allah towards us, we could have been swallowed up by the earth just as he was swallowed up, because we wanted to be like him.'

﴿وَيْكَأَنَّهُ لاَ يُفْلِحُ الْكَـفِرُونَ﴾

(Know you not that the disbelievers will never be successful.) He was a disbeliever, and the disbelievers will never be successful before Allah in this world or in the Hereafter.

﴿تِلْكَ الدَّارُ الاٌّخِرَةُ نَجْعَلُهَا لِلَّذِينَ لاَ يُرِيدُونَ عُلُوّاً فِى الاٌّرْضِ وَلاَ فَسَاداً وَالْعَـقِبَةُ لِلْمُتَّقِينَ ﴾

﴿مَن جَآءَ بِالْحَسَنَةِ فَلَهُ خَيْرٌ مِّنْهَا وَمَن جَآءَ بِالسَّيِّئَةِ فَلاَ يُجْزَى الَّذِينَ عَمِلُواْ السَّيِّئَاتِ إِلاَّ مَا كَانُواْ يَعْمَلُونَ ﴾

(83. That is the home of the Hereafter, We shall assign to those who do not want to exalt themselves in the land nor cause corruption. And the good end is for those who have Taqwa.) (84. Whosoever brings good, he shall have the better thereof; and whosoever brings evil, then those who do evil deeds will only be requited for what they used to do.)