One reason is it offers legal protections so a disadvantaged mate isn't left with nothing. Especially in the case of a couple where one isn't working, perhaps to care for children.
Many people now just do the civil ceremony and skip the religious ceremony. It was interesting to see all the couples outside the government office waiting to get married on whatever day marriages were performed.