(Know that) those who deny the Truth and bar others from the Way of Allah, He causes their actions to be lost. (Even their good deeds will carry no weight against this mountain load of infringement)
Those who disbelieve (in the Oneness of Allah, and in the Message of Prophet Muhammad SAW ), and hinder (men) from the Path of Allah (Islamic Monotheism), He will render their deeds vain
Those who deny the knowledge of the reality and prevent from the way of Allah are those whose deeds are lost!
Al-muntakhab fi tafsir al-Qur'an al-Karim
Those who denied Allah and stood in the way to prevent Allah's spirit of truth from guiding people into all truth, has He imprinted their deeds with irreverence, profanity and damnation