Muhammad and The Violation of The Quran

So basically you answered your own question, it was all ordained, so what exactly is the issue?