Sura Al-Qasas

28:67

فَأَمَّا مَن تَابَ وَءَامَنَ وَعَمِلَ صَٰلِحًۭا فَعَسَىٰٓ أَن يَكُونَ مِنَ ٱلْمُفْلِحِينَ

Men för den som känner ånger och antar tron och [därefter] lever ett rättskaffens liv, finns hoppet att allt [till sist] skall gå honom väl i händer.

Tafsir 28:67

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.