A legal marriage protects your rights, particularly your property rights, if the marriage fails.

lobola in British English
or lobolo (lɔːˈbɔːlə , ləˈbəʊ-) (in southern Africa) an African custom by which a bridegroom's family makes a payment in cattle or cash to the bride's family shortly before the marriage. Collins English Dictionary.