As for me, no I have not been married to a wonderful spouse and I am sure for every bad experience like Elon's you will find 4 good experiences (my parents have been married for 40+ years). But to answer your question, if its worthed to be married to someone for 10+ years and then getting divorced and finding out that she is sucking the last penny out of you for the rest of your life is NOT worthed; AFAI am concerned. I don't care how much bliss you had for that 10 years or so.
You are mixing up duration and quality.
My parents have been happily married (to the best of my knowledge) for the last 40 years. If they are not happy, they are damn good at hiding it and goes way out of their way to make sure the kids never find out