Questions on the Road to Islam: God’s Prophets?

If Muhammad corrected what was misrepresented in respect to what Jesus taught, then God would only decide to send the Prophet after these mistakes made by the disciples. But if so, how do you explain the prophecies about Muhammad in the Bible? If God knew the word would be misrepresented, would He allow failure?