That's not entirely true.
If you look at history and especially during 7th century when Islam emerged- women received many rights and one thing that got stopped- as sickening as it was, was the burial of female children due to the burden and shame! These children were buried alive
It's the countries and leaders that dictate to women and give others the impression that all this is due to the religion.
In fact, the reality is under true Islamic rule, women were given:
Independent Legal and Financial Identity
The Mahr (Dowry)
Right to Inheritance
Right to vote
Financial Maintenance
Consent to Marriage
Right to Initiate Divorce
Abolition of Pre-Islamic Harmful Practices- one mentioned in my first paragraph
Right to Education
Public and Economic Participation
Spiritual Equality