This kind of thing has happened elsewhere among humanity for thousands of years before Mohamed was even born.
It's a very human capability to do this, sadly.
No need to take my word for it, investigate what happened when the Thracians took Mycalessus for just one example.