You say “All women are beautiful” but what you probably mean is “All women have value.”
And the reason you’re mixing up those two words is because you’ve been raised to believe that only beauty can confer value on women.
This also explains why so many people jump to “ugly” as an insult when faced with a woman they don’t agree with or don’t like.