<human>: Condense the text into a few key points

Okay so ill be using a throw away. I cheated on my wife after a bunch of drinks at the bar with friends. Now none of my friends knew I had a one night stand, but I told Bill a month later after I had a few drinks. The cat was out of the bag.

I told him that I cheated on her because I was bored of the sex, and Bill acted like it was no big deal and said he wouldn't tell. When we sobered up the next day I had no idea I told him until he told me and I remembered. He acted fine about it the night I told him, but got super pissed the next day.

Keep in mind he is MY friend and although is technically my wife's friend they are not that close. So I get home from work yesterday, and my wife is crying on the couch, I ask whats wrong, try to console her and she says, "Bill told me everything, why would you do this to me? We have only been married a year. I love you." 

Right then I was devestated. I haven't talked to her after that conversation I just don't know what to say. She said she wants to stay with me but I have to commit to change. Bill won't ever talk to me again he says. I know I shouldn't have cheated on my wife, but I trusted him and have since we became friends 10 years ago. Bill said he can't trust me if I did that to my wife. 

Who is the asshole here? Now I told Bill I trusted him and he told her, which was completely an asshole thing to do in my opinion when it's none of his business. So now I'm pissed at everything. I'm going to try to talk to my wife and see if we can stay together because I do love her, I just don't think one drunken mistake is that big of a deal.
<bot>: Got drunk, cheated on wife, made mistake of telling friend. Friend told her, im pissed at him for breaking trust. am i wrong?