You are reading a tafsir for the group of verses 29:36 to 29:37
والى مدين اخاهم شعيبا فقال يا قوم اعبدوا الله وارجوا اليوم الاخر ولا تعثوا في الارض مفسدين ٣٦ فكذبوه فاخذتهم الرجفة فاصبحوا في دارهم جاثمين ٣٧
وَإِلَىٰ مَدْيَنَ أَخَاهُمْ شُعَيْبًۭا فَقَالَ يَـٰقَوْمِ ٱعْبُدُوا۟ ٱللَّهَ وَٱرْجُوا۟ ٱلْيَوْمَ ٱلْـَٔاخِرَ وَلَا تَعْثَوْا۟ فِى ٱلْأَرْضِ مُفْسِدِينَ ٣٦ فَكَذَّبُوهُ فَأَخَذَتْهُمُ ٱلرَّجْفَةُ فَأَصْبَحُوا۟ فِى دَارِهِمْ جَـٰثِمِينَ ٣٧
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
3

The community, to which Shu‘ayb was appointed as prophet, was a trading community. Its members, however, became so greedy that they resorted to earning through unfair and fraudulent means. This was how they spread corruption in the land. Legitimate trade is the rightful method of earning, while fraud and exploitation are sinful. Shu‘ayb exhorted his people not to be unmindful of the Hereafter while in pursuit of worldly gain. He beseeched them to adopt a way of life by which they could hope for a better fate in the Hereafter. But, despite the best efforts of the prophet, his community did not pay heed to his exhortations, with the result that, in accordance with the Laws of God, it was destroyed. Their homes, which had reverberated with life, became houses of death and destruction for them.