All you can do is work on yourself and make yourself into the person that only a fool would leave.
My ex also never had an affair that I could determine. Let me say that infidelity still occurs when she leaves the marriage, this was something that took me a very long time to understand.
It is possible that she had a fantasy in her head from romantic novels, not really something that you can compete with.
Keep posting and reading be the BEST DAD you can be