Surah Muhammad — Ayah 9 (47:9)
ذَٰلِكَ بِأَنَّهُمۡ كَرِهُواْ مَآ أَنزَلَ ٱللَّهُ فَأَحۡبَطَ أَعۡمَٰلَهُمۡ ٩
English translation (Saheeh International)
That is because they disliked what Allāh revealed, so He rendered worthless their deeds.
Brief commentary
That punishment that will befall them is because they detested the Qur’ān that Allah revealed to His prophet because it contained the mention of Allah’s Oneness, so Allah destroyed their deeds and they were losers in the world and the Hereafter.