Is texting/ flirting cheating?

Do you consider texting/ flirting with another female cheating? Back track to about a month ago. One of my “friends” messaged me and told me that her and my husband have been texting, talking about how each other is attractive, how they’d like to be alone, and some other stuff. Well we talked he said it was nothing more then that. I forgave him. Rewind to Halloween, we have a Halloween party and I invite a girl I babysit for over. She comes it’s all fine we’re all drunk, and I see my husband touch her butt multiple times. I thought oh well no big deal he’s drunk so am I maybe I didn’t see it right. Well lastnight I went to get his Apple Watch to call my phone because I misplaced it and the messages was pulled up. I saw the lady’s name (the one I babysit for), I clicked on it and I see messages a lot of hearts, winky faces. Her saying come hangout him saying my wife is home but after she goes to sleep. Him asking for nudes saying let me see them titties again. I ask him about it he acts like he doesn’t know what I’m talking about. He runs down the stairs after me so I run out the garage and outside because I know he’s trying to get it to delete them. He’s in the military and can get in big trouble for that! I hear my daughter crying so I run upstairs go to get her and he comes running trying to jerk the watch out of my hands I was about to fall in her bed on top of her. He jerks me to the floor and is pretty much on top of me trying to get the watch still. I don’t let go he drags me around the bedroom finally I let go and he runs down the stars and outside and deleted all the messages. I called the cops because the way he was treating me and on top of me. He says I’m dumb I’m ruining his career and the cops come and make him leave with no contact for 72 hours. Idk what to do. I want to leave because I’m better then that. But the one thing I want in life is for my daughter not to have a broken home. Idk what to do. Can I get some input on both sides. Has your husband “emotionally cheated” and you stayed? Please don’t say I’m stupid for questioning it I don’t want to throw 7 years down the drain.