قُلْ سِيرُوا۟ فِى ٱلْأَرْضِ فَٱنظُرُوا۟ كَيْفَ كَانَ عَـٰقِبَةُ ٱلَّذِينَ مِن قَبْلُ ۚ كَانَ أَكْثَرُهُم مُّشْرِكِينَ Qur’an Ar-Rum (30:42)Qul seeroo fee alardi faonthuroo kayfa kana AAaqibatu allatheena min qablu kana aktharuhum mushrikeena
I.e., they worshipped material comfort and power, and thus lost sight of all spiritual values and, in the end, destroyed themselves.
If you contemplate history and past experience (including spiritual experience), you will find that evil and corruption tended to destroy themselves, because they had false idols for worship, false standards of conduct, and false goals of desire.