How Those Who lived a Life of Luxury disbelieved in the Messengers and were misled by Their pursuit of Wealth and Children
Allah is consoling His Prophet and commanding him to follow the example of the Messengers that came before him. He tells him that no Prophet was ever sent to a township but those among its people who lived a life of luxury disbelieved in him, and the weaker people of the town followed him. The people of Nuh, peace be upon him, said to him:
أَنُؤْمِنُ لَكَ وَاتَّبَعَكَ الاٌّرْذَلُونَ
(Shall we believe in you, when the weakest (of the people) follow you) (26:110)
(nor do we see any follow you but the meanest among us and they (too) followed you without thinking) (11:27). The leaders among the people of Salih said:
Do they think that by consistently providing them with wealth and children, We are accelerating the (real) good things to them? The fact, however, is that they do not understand (the reality) - 23:55, 56.
And the reality is that wealth and children that make man negligent of Allah become a curse for him. Then, in a verse of Surah At-Taubah, it was said:
And their wealth and children should not attract you. Allah only wants to punish them with these in this world and that their souls depart while they are disbelievers - 9:85.
In that case, it will end up into the everlasting punishment of the Hereafter. As for punishing through wealth and children right here in this world, it means that they become so involved in and infatuated with wealth and property that they never find the time to think about their ultimate fate or turn towards Allah and 'Akhirah - the end of which is punishment that will last forever. Then there are many who have wealth and children both. It is within this world that, for the sake of wealth and children, rather, through the wealth and children, they have to suffer from thousands of distresses and pains. As such, their punishment starts taking effect right from this very world.
According to a narration of Sayyidna Abu Hurairah ؓ ، the Holy Prophet ﷺ said: Allah Ta’ ala does not see you or your wealth. He sees your hearts and your deeds – (reported by Ahmad, Ibn Kathir)
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 33–38
Denial of Truth is the greatest crime. The result of this crime does not become apparent to an individual in this world. Therefore, he goes on fearlessly denying the Truth. But, in the Hereafter, when the adverse effect of denying the Truth impinges on the deniers, they will be caught in a state of turmoil. The common people, in this world, were proud of their leaders, but once in the Hereafter, they will curse them. In reply, their leaders will say, ‘Don’t blame us to cover up your ignominy. It was not we who misguided you but your own desires. You were with us simply because our words were in consonance with your own desires. You wanted a religion in which you could get credit for being righteous without taking much trouble and without changing yourself, and we provided you with it. You put our noose around your neck of your own accord; otherwise, we had no power to do so.’
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.