28ذٰلِكَ بِأَنَّهُمُ اتَّبَعوا ما أَسخَطَ اللَّهَ وَكَرِهوا رِضوانَهُ فَأَحبَطَ أَعمالَهُم(Saheeh International)That is because they followed what angered Allāh and disliked [what earns] His pleasure, so He rendered worthless their deeds.