That's from the States PoV, and since they make the laws that govern marriage it's a reasonable position to take.
All the other stuff (eg religious baggage) that comes along are optional extras.
This 18th century view was thankfully mostly abolished by later centuries. We don't see children going into debt slavery just to repay their parents or grandparents sins. An other 18th century concept is that children starved and died if they did not have a supporting family. There was no welfare state or no social net. A major progress in the way government operates today is that government operates on individuals. The PoV of the state is that there is individuals that need food, healthcare, and social support. Those individuals could be a child in which a lack of essential needs cause the state to bring in social services. The family is only a factor when evaluating the available support an individual has, but in the end its the individual that the government focus on. 18th century marriage law did not look at the individual, and as such it made sense that marriage was a single entity that formed a family which members had legal responsibility to each other. The state issued the laws that defined a family, the family protected each member, and the chain of command (and law) was simple, clear and established.