I'll bet God told him what to write. What's your point?
Did God tell him to write every word that was written? Was the writer merely taking dictation?
I really think you should keep Moslem thoughts concerning what Scriptures are out of these Christian debates.