You are missing the point. Catholicism was discarded because it was seen as sexually oppressive, and against women's freedom. It is no accident that the Quiet Revolution coincided with the Sexual Revolution. It was led in large part by women rebelling against being told they should not use birth control, be virgins at marriage, that premarital sex was sinful, etc.

Having the Church in charge of education, hospitals, meant they could impose those views on the population. That is why they were booted out.

Islam is despised for the same reasons catholicism was rejected: it is seen as even more oppressive to women. "That's not how we do things here" means, "We believe in women's equality and freedom here. We'll gladly adopt your food, admire your art and architecture, etc., but leave your beliefs about women's subjugation at the border".