At-Tawbah 9:27
Then Allāh will accept repentance after that for whom He wills; and Allāh is Forgiving and Merciful.
Ayah 27
ثُمَّ يَتُوبُ ٱللَّهُ مِنۢ بَعْدِ ذَٰلِكَ عَلَىٰ مَن يَشَآءُ ۗ وَٱللَّهُ غَفُورٌ رَّحِيمٌ
Then Allāh will accept repentance after that for whom He wills; and Allāh is Forgiving and Merciful.