But as for one who had repented (in this life), believed, and done righteousness, it is promised by Allah that he will be among the successful.