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.
The consequence of having seen God is madness, not in the sense that one becomes mentally ill, no, but that a kind of madness is set between you and others: people cannot nor will not understand you.