I disagree with Chai on her outlook on life. She also paints a very negative view of divorce. Most divorced people, including me, are much happier than we were when we are married. I don't know anyone who regrets a divorce (although I am sure they exist).
Divorce represents a new start, a new phase in life. I am not saying it is some magical happiness cure that will solve all of one's problems, but it does get you out of a situation that isn't working and open up possibilities that very well might work better.
Since I divorced my sex life has been much better. In the first parts of marriage, there was consistency and security in sex... my wife was generally there. That is an advantage of marriage. After my marriage turned cold, even when their was sex it wasn't very good. Since my divorce I have never gone for years without sex. There are roughly equal numbers of divorced men and divorced women... you can do the math. There is something special and exciting and hopeful about a new relationship.
Of course there are two sides. There are often economic costs to divorce. And, there is a difficult time where you have to rediscover yourself as a single person. But there are many happy divorced people who find their lives better after ending a marriage that wasn't working.
Life doesn't come with a guarantee of happiness, but sometimes what we need is hope and a chance for something new.