Gordie,
From experience, re-read what you wrote. You have done NONE of the above. Your wife did. Do not believe the projection.
Let's clarify: Did you cheat?
Did you lie?
Did you hide anything?
Did you make any decision that would not be for the best interest of the WHOLE family?

You did not fail. She did not tell you anything. You were right where you belong. Why not talk to you about the way she felt? Why not work with you to get to the root of the problem? For the sake of the marriage, the family, the children and have a better quality of life TOGETHER?

Stay real Gordie