ذَٰلِكَ بِأَنَّهُمُ ٱتَّبَعُواْ مَآ أَسۡخَطَ ٱللَّهَ وَكَرِهُواْ رِضۡوَٰنَهُۥ فَأَحۡبَطَ أَعۡمَٰلَهُمۡ
That, because they pursued what displeased Allah, and loathed His pleasure. So He has made their works fail.
Agha Ali Puya Commentary
Commentary on Quran 47:28
[Pooya/Ali Commentary 47:28] (see commentary for verse 25)