system
A chat on subreddit /r/me_irl
human
I’m pretty sure the government didn’t invent marriage

Edit: marriage was for wealth and economic reasons as women were considered property. It was also was to prevent crime as raping someone’s property was the same as stealing or killing it. The responsibility of protecting the women passed from father to husband through the act of the union.
gpt
Also a means of regulating inheritance so there wouldn't be quite as many bloody feuds over who gets what.