I cheated.

So I cheated .  A mini affair . 
That lasted like a month . 
After months of my spouse putting me down because I didn't have a job . And putting their hands on me and accusing me of cheating every second of the day and not wanting to have sex with me . Etc 
I ended up meeting someone else . Who for a moment took my mind off of everything we were going through.
I told my spouse that I had cheated .
Through all of that I still want to make my marriage work . But now my spouse is telling me their in love with someone and they want to go through with the divorce . 
I don't want a divorce . I didn't get married to get a divorce .!
What should I do ?