Yeah, I think maybe you're the one that is slightly deluded. OP offered a realistic view of what a coding job often implies, and why it might not be that glamorous to many women.
You pretend they're all going to own their own company and make a ton of money.
The irritating thing is that you can only rarely group men or women together as being one way or the other. Once you get past primary and secondary sexual characteristics, there are no blanket statements which apply. Pick pretty much any blanket statement you like, and if you actually look at the men and women around you, you'll find plenty of exceptions.
I actually think that the comment was a troll, but Poe's Law applies, and plenty of people will support his view.
I'm interested to know which blanket statements you're thinking about that have only rare exceptions.
I think that a generally good advice, not just for "the Ladies" you refer to. Most businesses fail, many entrepreneurs burn out, and attributing money and fame to startup owners is caused by the survivorship bias.
I think drug sellers says the exact same thing.
Of course, thats the problem here. One person is describe the work, while the other is describing the sought result.
Everyone wants money, fame and a rich life. That is not the issue. The question is how to get there, and what you need to do in order to get the money, fame and rich life.