Sura Al-Baqara

2:95

وَلَن يَتَمَنَّوْهُ أَبَدًۢا بِمَا قَدَّمَتْ أَيْدِيهِمْ ۗ وَٱللَّهُ عَلِيمٌۢ بِٱلظَّٰلِمِينَ

Men de kommer aldrig att önska sig [döden] på grund av det som deras händer har sänt före dem [till Domen] - Gud känner de orättfärdiga.

Tafsir 2:95

They will never wish for death, because of what they have done in their lives: disbelieving in Allah, rejecting His prophets and distorting His scriptures. Allah knows the wrongdoers among them and other people: each person will be given what they have earned.