She gave you two children, and you didn't have the decency to tell her you emotionally checked out and then started cheating and then blindsided her be cause she answered a question you asked
You're not just an asshole but a bad parent because people who cheat when they have kids are automatically bad parents. YTA, make sure you're honest with your new girlfriend about how you really treated your wife.