Quran 39:41 — The Throngs (Al-Zumar)
We have revealed the scripture through you for the people, truthfully. Then, whoever is guided is guided for his own good, and whoever goes astray goes astray to his own detriment. You are not their advocate.
[39:40] "(You will find out) who has incurred shameful punishment, and has deserved an eternal retribution."
[39:42] GOD puts the souls to death when the end of their life comes, and also at the time of sleep. Thus, He takes some back during their sleep, while others are allowed to continue living until the end of their predetermined interim. This should provide lessons for people who reflect.