Why has history been so patriarchal?

I mean it still is but not to the extent of say last century and prior. Why has society always functioned said way? For thousands of years. Why is this outdated system so grounded in our history? And why has it only been in modern times where our society is becoming more egalitarian?

Why has history been so patriarchal?
Post Opinion