> "He" (and "men" rather than "people" or "humanity" or other substitutes) was the "neutral" or "collective" or "universal" pronoun of the English language until very recently.
For what it's worth, and without meaning to argue with the claim about common useage, E. Nesbit, who wrote (at least) in the very early 20th century (a quick Google shows me her "5 children and It" was published in 1902), already used the jarring-to-me but eminently logical 'it' as a gender-neutral pronoun.
For a time, some used "he or she" (perhaps some still do) to avoid offending activists, and others tried the use of "one," though most attempts were awkward.
Incidentally, "gender" referred to words, and "sex" referred to people and animals. In other words, forms used to collect personal information always requested "sex" (M or F), never "gender." I don't recall when that change occurred, but probably sometime in the 90s.
I'm not trying to incite anyone, just observing that using "gender" to refer to living beings and substituting "he or she" or "she" or "one" or other constructions for the "universal he / men" are very recent phenomena, forty years or less.