But this is not sufficient grounds to accuse Muhammad of compiling or copying from the Bible. The similarities between the two do not indicate that later prophets plagiarized from previous ones, but merely point to a common source, who is the one true God, and to the continuation of the basic message of monotheism.
The coming of the unlettered Prophet was prophesized in the Bible:

And the book is delivered to him that is not learned. (Isaiah 29:12)