As someone with semi-long hair this has kind of been bugging me lately.
Greetings! As a couple of other commenters have noted, your question needs more context -- lots of cultures have historically valued long hair in men, and many still do. Sikh men, for example, do not cut their hair.
You may be interested in this section of the FAQ/wiki: https://www.reddit.com/r/AskHistorians/wiki/health#wiki_on_men_with_short_hair.2C_women_with_long_hair.2C_and_vice_versa
Are you interested in a specific culture?
You need to be way, way more specific.