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 .