A lot of things pre date Islam. It's just that creators of Islam took the worst and stupidest things from junkyard of human ideas and made a religion out of it, some of which include: FGM, face veils, flat Earth, God, angels, genies, fatwas, jihad, killing people for apostasy, beating women, antisemitism, etc.
teachings of the Bible are so muddled and self-contradictory that it was possible for Christians to happily burn heretics alive for five long centuries. It was even possible for the most venerated patriarchs of the Church, like St. Augustine and St. Thomas Aquinas, to conclude that heretics should be tortured (Augustine) or killed outright (Aquinas). Martin Luther and John Calvin advocated the wholesale murder of heretics, apostates, Jews, and witches. - Sam Harris, "Letter To A Christian Nation"