Surah At-Tawba · 9:102

سُورَةُ التَّوۡبَةِ

وَءَاخَرُونَ ٱعْتَرَفُوا۟ بِذُنُوبِهِمْ خَلَطُوا۟ عَمَلًۭا صَٰلِحًۭا وَءَاخَرَ سَيِّئًا عَسَى ٱللَّهُ أَن يَتُوبَ عَلَيْهِمْ ۚ إِنَّ ٱللَّهَ غَفُورٌۭ رَّحِيمٌ ۝١٠٢

And [there are] others - [people who] have become conscious of their sinning after having done righteous deeds side by side with evil ones; [and] it may well be that God will accept their repentance: for, verily, God is much-forgiving, a dispenser' of grace.

Translation: Muhammad Asad