But as for one who had repented, believed, and done righteousness, it is promised by Allah that he will be among the successful.
The Saheeh International Quran Translation
فَأَمَّا مَن تَابَ وَءَامَنَ وَعَمِلَ صَٰلِحًا فَعَسَىٰٓ أَن يَكُونَ مِنَ ٱلْمُفْلِحِينَBut as for one who had repented, believed, and done righteousness, it is promised by Allah that he will be among the successful.