28ذٰلِكَ بِأَنَّهُمُ اتَّبَعوا ما أَسخَطَ اللَّهَ وَكَرِهوا رِضوانَهُ فَأَحبَطَ أَعمالَهُم(Irfan-ul-Quran)That is because they followed that (path) which displeases Allah and disliked His good pleasure; so He made (all) their actions null and void.