Tafsir Jalalayn Muhammad 47:28

The ayahs

  1. ذَٰلِكَ بِأَنَّهُمُ ٱتَّبَعُواْ مَآ أَسۡخَطَ ٱللَّهَ وَكَرِهُواْ رِضۡوَٰنَهُۥ فَأَحۡبَطَ أَعۡمَٰلَهُمۡ

    Open ayah 47:28

    That is because they followed what angered Allāh and disliked [what earns] His pleasure, so He rendered worthless their deeds.

Tafsir Jalalayn

That, taking of them away in the state mentioned, is because they followed what angers God, and [because] they were averse to what pleases Him, that is to say, [they were averse to] doing what pleases Him. Therefore He has made their works fail.