The quote in the title is taken from Al Murray, the pub landlord who begins many of his sets with "let's hear it for the beer! All hail to the ale! And welcome the wine, for the ladies."
Having grown up in the UK I can say that, generally speaking, there is a masculine association with beer and a feminine association with wine but this isn't as true in other European countries such as Spain.
Do we know when beer = male and wine = female became a thing in British / Anglophone culture? If I was a woman 500 years ago and ordered a beer in the local tavern would I be looked upon as strange? I can't imagine many of the common people could afford wine back then, but was there another 'feminine' drink that I could order? Or would drinking beer be a perfectly acceptable thing to do?
I have a previous answer on this, which addresses elite gendered drinking styles in the Regency (although not specifically beer:men::wine:women, as elites didn't really drink beer) and which might be of interest to you: