One of the main legal benefits of marriage is being able to be financially dependent on someone else in a secure way. If one spouse decides to put their career on hold (or never begin one in the first place) while the other one works, they don't have to worry about being penniless and unable to provide for themselves in the case of the relationship ending. This becomes less crucial if both are working, which seems more common than ever.