He it is Who raised among the inhabitants of Mecca an Apostle from among themselves , who recites to them His communications and purifies them , and teaches them the Book and the Wisdom , although they were before certainly in clear error ,