Did Hollywood always treat women this badly?
Without obsessing over the obvious problems both historically and in the present with the predatory behavior of abusive C-suiters, the answer is arguably, "No." The erasing of traditional strong female role models (where are the former "A Pictures" or big female stars?); the ignoring of prominent women and their accomplishments of the past (Lucille Ball, Sherry Lansing, Dawn Steele, and other powerful executive rank females are all ignored in favor of Kathleen Kennedy worship); and the positioning of prominent female talent in inappropriate roles (using directors like Chloe Zhou as Marvel/DC Universe directors).
The current treatment of women in Hollywood has arguably never been worse.