The repentance accepted by Allah is only for those who do wrong in ignorance ˹or carelessness˺ and then repent soon after. It is those to whom Allah will turn in forgiveness, and Allah is ever Knowing and Wise.
إِنَّمَا التَّوْبَةُ عَلَى اللَّهِ لِلَّذِينَ يَعْمَلُونَ السُّوءَ بِجَهَالَةٍ ثُمَّ يَتُوبُونَ مِنْ قَرِيبٍ فَأُولَٰئِكَ يَتُوبُ اللَّهُ عَلَيْهِمْ ۗ وَكَانَ اللَّهُ عَلِيمًا حَكِيمًا