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