Surah Muhammad · 47:28
ذَٰلِكَ بِأَنَّهُمُ اتَّبَعُوا مَا أَسْخَطَ اللَّهَ وَكَرِهُوا رِضْوَانَهُ فَأَحْبَطَ أَعْمَالَهُمْ
This, because they were wont to pursue what God condemns and to hate [whatever would meet with] His goodly acceptance: and so He has caused all their [good] deeds to come to nought.
Read Surah Muhammad 47:28: "This, because they were wont to pursue what God condemns and to hate [whatever would meet with] His goodly acceptance: ..." Full Arabic text, English translation, and image generator.