Testosterone is the main explanator of the prevalence of male vs female violence and not socialisation. Roid rage is real and when females take anabolic steroids they become more violent.
This has served humanity well over many many years. Since industrialisation there is much less need for brute strength. However, it still sometimes has its uses. There are also very cruel women, although clearly fewer in number.
Socialisation curbs the innate tendency and the vast majority of well educated men have zero propensity to violence. Unnecessary violence is a pathology and not the norm.
Society continues to become less violent and testosterone levels are, on average falling (for a variety of reasons). Of course the corollary is lower sperm counts and sex drive.
As a species we depend upon male sex drive and fertility (unless you really see utopia as ivf with mechanically extracted sperm). When misdirected it causes problems but societies, by creating strong laws against violence (created at least as much by men) do contain toxic masculinity.