In later years attractive women struggle exactly because of the trope you describe - all their achievements are doubted because others think those are just due to their looks and genetic lottery. And they can never be sure whether a male offer of support is genuine kindness or collegiality or an attempt to get in their pants.
Another example: I travel 2x/month for work. When I do I go for runs, roam late around the neighbourhoods of unknown areas to take photos, grab a beer and chat with locals, etc. I dont have to fear too much harm beyond a robbery. My female colleagues all have a very similar travel schedule but they don't see or experience nearly as much of the cities they travel to, simply because as a woman you have to fear much more for your bodily integrity than us men.
Not saying anyone is really at fault here (except our fellow men that don't respect boundaries/common decency) or that being unattractive is better (especially for women that has its own downsides) but it definitely is not all rainbow and sunshine just because a woman has good looks. Be kind to all, whether beautiful or not.
Being attractive, woman or not, has so many hidden benefits it's impossible to add them all up. You'll be perceived as more intelligent, you'll get more opportunities to be promoted and of course, mating, one of the most important aspects for humans, becomes immeasurably easier. It's probably one of the greatest inequalities there is, along with intelligence and wealth. There are many studies that indicate that subjective well-being correlates with attractiveness. And yet, people seem to be a lot more eager to defend the beautiful, rather than the wealthy. Also note that attractivness is massively important for men as well; note that 80% of all CEOs are above 6 ft tall.
Society already also sends boys the message that their greatest value lies in their sexual exploits, and that as long as they have money and power and are aggressive enough, sex with beautiful women is their just and deserved reward.
Both of these signals are primarily sent through popular media, and their purpose is to reinforce outdated notions of both masculinity and femininity, and superficial and exploitative ideals of relationships and sex which lend themselves more readily to consumerism and commercial exploitation.
None of this is in any way new.