Giving married women an independent legal existence did not destroy heterosexual marriage. And allowing husbands and wives to construct their marriages around reciprocal duties and negotiated roles - where a wife can choose to be the main breadwinner and a husband can stay home with the children - was an immense boon to many couples.
In the 19th century, when Muslims were looking at Europe as an example, they were independent; they were more self-confident. In the early 20th century, with the fall of the Ottoman Empire, the whole Middle East was colonized. And when you have colonization, what do you have? You have anti-colonization.