When the US Constitution was written, "he", "him" and similar were used to refer to all persons regardless of sex.
Per https://www.lexico.com/en/definition/heLexico (which claims to use the Oxford English Dictionary as its source):
he Pronunciation /hē/ /hi/ pronoun third person singular 1 Used to refer to a man, boy, or male animal previously mentioned or easily identified. ‘everyone liked my father—he was the perfect gentleman’ 1.1 Used to refer to a person or animal of unspecified sex (in modern use, now chiefly replaced by “he or she” or “they”) ‘every child needs to know that he is loved’ 1.2 Any person (in modern use, now chiefly replaced by “anyone” or “the person”) ‘he who is silent consents’He Pronunciation: /hē/ /hi:/
pronoun
third person singular
1. Used to refer to a man, boy, or male animal previously mentioned or easily identified.
‘everyone liked my father—he was the perfect gentleman’
1.1 Used to refer to a person or animal of unspecified sex
(in modern use, now chiefly replaced by “he or she” or “they”)
‘every child needs to know that he is loved’
1.2 Any person (in modern use, now chiefly replaced by “anyone” or “the person”) ‘he who is silent consents’...
Usage
Until recently, he was used to refer to a person of unspecified sex, as in every child needs to know that he is loved, but this is now generally regarded as old-fashioned or sexist. ...