Yuppp. The implications of being raised as a "nice girl" can be really devastating.
It's a habit I'm trying to unlearn for myself, but even as I try to be more assertive, I have to be mindful of the potential threat in many situations. Sometimes it's safer to play nice and compliant.
(Note: I am not a woman, but I'm a nonbinary person who is frequently enough read as a woman in public that this is still a big part of my life.)