The Cow - 2:95 They will never wish for it because of what their hands have done. Allah knows the wrongdoers.
Related:
The Congregation - Friday/62:6 "Say: "O Jews, if you claim that you alone among the people are the friends of Allah, then wish for death, if you are truthful."
قُلْ يَٓا اَيُّهَا الَّذ۪ينَ هَادُٓوا اِنْ زَعَمْتُمْ اَنَّكُمْ اَوْلِيَٓاءُ لِلّٰهِ مِنْ دُونِ النَّاسِ فَتَمَنَّوُا الْمَوْتَ اِنْ كُنْتُمْ صَادِق۪ينَ
The Congregation - Friday/62:7 They will never be able to wish for it because of what they used to do. Allah knows the wrongdoers well.
وَلَا يَتَمَنَّوْنَهُٓ اَبَداً بِمَا قَدَّمَتْ اَيْد۪يهِمْۜ وَاللّٰهُ عَل۪يمٌ بِالظَّالِم۪ينَ