That is because they followed that which angered Allah, and hated that which pleased Him. So He made their deeds fruitless.
این عذاب بدین سبب است که از پی راهی که موجب خشم خداست رفتند و راه رضا و خشنودی او را خوش نداشتند خدا هم اعمالشان را محو و باطل گردانید.