9:102
وَءَاخَرُونَ ٱعْتَرَفُوا۟ بِذُنُوبِهِمْ خَلَطُوا۟ عَمَلًا صَـٰلِحًا وَءَاخَرَ سَيِّئًا عَسَى ٱللَّهُ أَن يَتُوبَ عَلَيْهِمْ ۚ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
waākharūna iʿ'tarafū bidhunūbihim khalaṭū ʿamalan ṣāliḥan waākhara sayyi-an ʿasā l-lahu an yatūba ʿalayhim inna l-laha ghafūrun raḥīmun
And there are others who have confessed their wrongdoing, who have done some righteous deeds and some bad ones: God may well accept their repentance, for God is most forgiving and merciful.
And (there are) others who have acknowledged their sins, they have mixed a deed that was righteous with another that was evil. Perhaps Allâh will turn unto them in forgiveness. Surely, Allâh is Oft-Forgiving, Most Merciful.