Did Prophet Mohammad want to convey a message before he died

Re: Prophet Mohammad wanted to convey a message before he died

Well if Prophet Mohammed was not literate than what he said was written by others...in this case it ran the risk of getting 'distorted'.