Violent crime is one of the exceptions. 'Behaviour' covers everything from propensity to murder to likelihood of taking dance classes.
Hence 'mainly'.
Levels of violent crime and sex offences vary across times.and cultures - so they are susceptible to cultural influence to some extent. But as far as I know male levels are always higher than female levels for the same time, place and culture. So there is a strong biological influence.
But a lot of sex differences in more everyday behaviours are pretty much entirely down to social factors. Whether they are considered male or female behaviours depends on time and place.
Before the invention of the typewriter, virtually all secretaries were men. Before they realised there was money in it, virtually all computer programmers were women. An interest in learning the relevant skills and taking the jobs was not consistent across time.
Someone who has long curly hair, wears flowery high heels and lots of makeup, loves ballet, and would always choose a glass of wine over a glass of beer could be a woman in the 1980s. Or could be a man at the court of Louis XIV. None of those behaviours are in the least biological.