Lord, send to them (our descendants) a Messenger of their own who will recite to them Your revelations, teach them the Book, give them wisdom, and purify them. You alone are the Majestic and the Most Wise."
God granted a great favor to the believers by sending a Messenger from their own people to recite to them God´s revelations, to purify them of moral defects, to teach them the Book, and to give them wisdom. Before this they had lived in manifest error.
AL Quran 62:2
It is He who has sent among the unlettered a Messenger from themselves reciting to them His verses and purifying them and teaching them the Book and wisdom - although they were before in clear error -