Getting married for a few years and then getting divorced is clearly not the path to financial independence.
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.