Surah Al-Qasas — Ayah 67 (28:67)
فَأَمَّا مَن تَابَ وَءَامَنَ وَعَمِلَ صَٰلِحٗا فَعَسَىٰٓ أَن يَكُونَ مِنَ ٱلۡمُفۡلِحِينَ ٦٧
English translation (Saheeh International)
But as for one who had repented, believed, and done righteousness, it is expected [i.e., promised by Allāh] that he will be among the successful.
Brief commentary
As for one amongst these idolaters who repents from his disbelief, brings faith in Allah and His Messengers, and does good actions, perhaps he will be amongst those who are successful in attaining what they seek and who are saved from what they fear.