Sure Ghafir

40:75

ذَٰلِكُم بِمَا كُنتُمْ تَفْرَحُونَ فِى ٱلْأَرْضِ بِغَيْرِ ٱلْحَقِّ وَبِمَا كُنتُمْ تَمْرَحُونَ

"Dies (geschieht deshalb), weil ihr auf der Erde ohne Recht froh zu sein und (zu sehr) frohsinnig zu leben pflegtet.

Tafsir 40:75

It will be said to them: “That punishment which you are suffering is due to your rejoicing over the idolatry you were upon and due to your excess in rejoicing.