Since you cannot a/b test this in individual cases and can only say "people who left earlier have these corresponding average experiences or outcomes compared to people who stayed longer," I think it's a terrible disservice to many people with big life challenges to act like they were just being neurotic to stay as they long as they did.
I know there are people who claim "divorce as such" is bad for kids but I'm very doubtful about that. Divorce can be good or bad depending on how it's done, and how interested both the parents are in their kid's well-being.