I would say the statement is half right and totally dumb.
Madness string 112331
Don't stay together 'for the children'. To do so is to model for your children that whatever dysfunction and abuse you are tolerating is something to be accepted, which will do them no favours either.