Plus let's not forget Christian countries do this too.
Not sure how the first two posters missed this point.
There are no Christian countries any more, but when there were, yes they did this and worse.
Thankfully, those Christian countries were transformed into secular countries and that abandonment of inherently violent and authoritarian Christianity as the basis for government is why those practices ended.
Hopefully, the US will stop its policies that fuel Islamic power and have impeded secularization of the Middle East over the last half century.