In the time of Muhammad He had to deal with people who would make ISIS look like pussies. They skinned people alive. They cut pockets into people and inserted candles. 100 women were not the equal of a single man. Under Muhammad He made 3 women equal to 1 man. Little by little He tried to change them. The Israelis had already experienced several Messengers who had greatly modified their behaviour. The Arabs were a law unto themselves.
He was up against the most depraved people that have ever existed.
Islam is not a global religion. It is not suited to non-Middle Eastern people because it is steeped in fixed cultural morays. Unlike Christianity which is structured to have a global reach, to be a global religion.
There are many sections of the Bible that if taken literally read just as profoundly disturbing as anything in the Koran. Another problem with Islam is the material that has been annexed to their teachings. Much of it is rubbish.
If you ever get the chance to read Ayatollah Khomeini's book it will give you an insight into the depth of mental depravity the so-called spiritual leaders of these people have. They're uneducated. They're ignorant. That's why it's so essential for all people claiming a religious belief to get the best education possible.