Translation by Dr. Muhammad Muhsin Khan & Dr. Taqi-ud-Din al-Hilali
That was because you had been exulting in the earth without any right (by worshipping others instead of Allâh and by committing crimes), and that you used to rejoice extremely (in your error).
Tafsir al-Sa'di — Shaykh Abd al-Rahman ibn Nasir al-Sa'di
Tafsir al-Sa'di (Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan) is a Quran commentary by Shaykh Abd al-Rahman ibn Nasir al-Sa'di (d. 1376 AH), the great scholar of Unayzah in Najd. It explains the meaning of every verse in clear, flowing language, draws out the lessons, rulings and benefits of the verses, and follows the creed and methodology of the Salaf. It avoids long digressions, weak narrations and Israeliyyat. The tafsir is originally written in Arabic, translated to English by tohed.com.
And it will be said to the people of the Fire: “That” punishment, which has been made varied upon you, “is because you used to exult upon the earth without right and because you used to behave insolently”, that is, you exulted in the falsehood you were upon, and in the sciences with which you opposed the knowledge of the messengers, and you behaved insolently towards the servants of Allah out of transgression, aggression, wrongdoing and disobedience. As the Exalted said at the end of this surah: “And when their messengers came to them with clear proofs, they exulted in what they had of knowledge”, and as the people of Qarun said to him: “Do not exult. Indeed, Allah does not like the exultant.” This is the blameworthy joy that necessitates punishment, unlike the praiseworthy joy about which Allah said: “Say, 'In the bounty of Allah and in His mercy, in that let them rejoice'”; and that is joy in beneficial knowledge and righteous deeds.
View the Arabic text (Tafsir al-Sa'di)
ويقال لأهل النار: {ذلكم}: العذابُ الذي نُوِّعَ عليكم {بما كنتُم تفرحون في الأرض بغير الحقِّ وبما كنتُم تمرحونَ}؛ أي: تفرحون بالباطل الذي أنتم عليه وبالعلوم الذي خالفتم بها علوم الرسل، وتمرحون على عبادِ الله بغياً وعدواناً وظلماً وعصياناً؛ كما قال تعالى في آخر هذه السورة: {فلمَّا جاءَتْهم رسلُهُم بالبيناتِ فَرِحوا بما عندَهم من العلم}، وكما قال قومُ قارون له: {لا تَفْرَحْ إنَّ الله لا يحبُّ الفرحين}، وهذا هو الفرح المذمومُ الموجبُ للعقاب؛ بخلاف الفرح الممدوح، الذي قال الله فيه: {قل بفضل اللهِ وبرحمتِهِ فبذلك فَلْيَفْرَحوا}، وهو الفرح بالعلم النافع والعمل الصالح.