Quran 7:147 — The Purgatory (Al-A'araf)
Those who reject our revelations and the meeting of the Hereafter, their works are nullified. Are they requited only for what they committed?
[7:146] I will divert from My revelations those who are arrogant on earth, without justification. Consequently, when they see every kind of proof they will not believe. And when they see the path of guidance they will not adopt it as their path, but when they see the path of straying they will adopt it as their path. This is the consequence of their rejecting our proofs, and being totally heedless thereof.
[7:148] During his absence, Moses' people made from their jewelry the statue of a calf, complete with the sound of a calf.* Did they not see that it could not speak to them, or guide them in any path? They worshiped it, and thus turned wicked.