Edited sentence: " Then when she delivered her child Maryam (Mary), she said: "O my Lord.According to the Bible, Moses was not an ancestor of Mary so this does not follow.Additionally, it is possible that Muhammad thought that Mary, the mother of Jesus, was Miriam the sister of Moses because it is written in Sura Al-Imran v36 and 37, "then the wife of Imran said: "O my Lord.Critics of Islam argue that if his revelations were from God they would not contain historical blunders.However, critics of Islam view these explanations as an attempt to conceal the possibility that Muhammad made a simple mistake.I have delivered a female child," From this it is possible that Muhammad thought that Mary was literally the daughter of Imran, although it is clear that this could not have been the case.I have vowed to You what (the child that) is in my womb to be dedicated for Your services (free from all worldly work; to serve Your Place of worship), so accept this, from me.Verily, You are the All-Hearer, the All-Knowing