Getting married for a few years and then getting divorced is clearly not the path to financial independence.
Getting married and staying married is a wonderful way to increase your wealth - but the key is stay married.
If you really want to increase your wealth, get married and stay married. On the other hand, divorce can devastate your wealth.
We can't tell from these data the reasons why divorced people have so much less wealth than those who are married. If you really want to increase your wealth, get married and stay married.