I do not give Islam a pass. But there is nothing in the Quran that advocates for something like this. There is certainly quite a bit of misogyny in the Quran but when it comes to divorce, it is much more open than Christianity and Judaism. A woman can seek Khul’ and have arbitration for a divorce.
Shit like this is local cultural practices that would happen regardless of the area being Islamic or not.