That wretchedness and wasting of their works is because they are averse to what God has revealed of the Qur’ān with all that it includes of religious obligations takālīf so He has made their works fail.
- 47:99
ذَٰلِكَ بِأَنَّهُمْ كَرِهُوا مَا أَنْزَلَ اللَّهُ فَأَحْبَطَ أَعْمَالَهُمْ
That is so as they were averse to what has been revealed by God, and their actions will be nullified.
- common.revelation-Medinan
- common.hizb : 202