So sad. So, 500 years ago.
This.
For most of human history the socially approved way to deal with unusual people was to kill them. From sexual orientation to mental illness to religious beliefs to congenital defects, just kill them.
Modern ethics are far more reason and evidence based. And the results are more along the lines of "The Religion of Peace" or "Love your neighbor as yourself" than the conservative versions of Abrahamic religion. That's a big problem that I have with Abrahamic religion in the 21st century.
Mostly the practitioners adopt secular humanist values, and are decent people. But the religions themselves still teach the ugly ethics of the primitive people who created them. And as a result, the profoundly immoral ethics of ancient people get dragged into the modern age. Not always, but all too often.
And I believe that Islam is the worst offender. Far more than Judaism or Christianity, over all, Muslims tend to exhibit ugly behavior and justify it with "God said...". Not that other people don't do this, they certainly do. But Islam is much worse, in general.
It's the religion most likely to justify immoral behavior based on Scripture.
In my experience. I could be wrong about that. And please don't misunderstand me. My opinion is not based on anecdotes like the OP. It's based on the prevalence of strife, poverty, bigotry, and tyranny found across the Muslim world.
It's easy to blame western powers for this. But, it's also quite dishonest to blame us for the entire culture.
Tom