Ok, so you were another man. An Affair partner. You did wrong. You need to admit it was wrong.
How old are you? Some timelines aren't adding up here. What have you had demonstrated as a healthy relationship?
Because your wife is married to you, in no way shape or form are you entitled to sex, whether you treat her good or bad. And it's pretty clear you treated her pretty badly. You view of marriage is very immature. And I can tell you, if a guy grabbed the flab on my stomach and made a passive aggressive comment towards me, the LAST thing I would want to do is be intimate with him!
You have tons of learning of to do on how you treat women and become a respectful loving partner.
If you don't save this marriage, you need to completely save yourself if you want a future healthy relationship.