47:28
ذَٰلِكَ بِأَنَّهُمُ ٱتَّبَعُوا۟ مَآ أَسْخَطَ ٱللَّهَ وَكَرِهُوا۟ رِضْوَٰنَهُۥ فَأَحْبَطَ أَعْمَـٰلَهُمْ
dhālika bi-annahumu ittabaʿū mā askhaṭa l-laha wakarihū riḍ'wānahu fa-aḥbaṭa aʿmālahum
because they practised things that incurred God’s wrath, and disdained to please Him? He makes their deeds go to waste.
That is because they followed that which angered Allâh and hated that which pleased Him. So He made their deeds fruitless.