Surah An-Nisaa, Verse 18
Translation — Sahih International
But repentance is not [accepted] of those who [continue to] do evil deeds up until, when death comes to one of them, he says, "Indeed, I have repented now," or of those who die while they are disbelievers. For them We have prepared a painful punishment.
Source
Kur'an-ı Kerim, Nisâ Suresi 4:18
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/4-suresi-18-ayet