ذٰلِكَبِاَنَّهُمُاتَّبَعُوْامَآاَسْخَطَاللّٰهَوَكَرِهُوْارِضْوَانَهٗفَاَحْبَطَاَعْمَالَهُمْ٢٨
dzaalika bi‑annahumu ittaba'uu maa askhatha allaaha wakarihuu ridhwaanahu fa‑ahbatha a'maalahum
That is because they followed what angered Allah and disliked [what earns] His pleasure, so He rendered worthless their deeds. [28]
— Sahih International