Should I leave?

My boyfriend and I have been dating for 4+ years, & we have a one year old who is super active. In the beginning of our relationship, just like many I’m sure.. he was picture perfect! Went out of his way to do sweet things for me, always made sure I was good. The first guy to actually take care of me.. 2 years in, we found out I was pregnant and it seemed like immediately he changed. I didn’t notice it right away, because we had always been on such good terms I felt like I didn’t even need to question us. Fast forward to when I had my daughter.. I remember laying awake in the middle of the night in the hospital thinking about how much distance had grown between us. He purposely started an argument with me in the delivery room, and would barely talk to me the whole time. I asked him to please come and comfort me, and he got extremely mad and sat in a chair beside my bed with a blanket covering his entire body. Just 3 short months after having my baby, it was revealed that he was talking on porn chat rooms with other women. Multiple friends have told me this should not be considered cheating, however it’s killed my self confidence and I think about it often. It seems like I’ll never get past it. Ever since I found out about that, he’s been completely different. He talks to me so bad sometimes I can’t even respond because I’m in such shock that someone I thought loved me, could talk to me so bad. This has been on my mind for a while, and I’ve been battling it completely alone. We are supposed to be moving into a new house together on the 25th, but I’m seriously having second thoughts. I’ve stayed this long with hopes that the old him will return, and also because I grew up without my father and still to this day it has negative effects on me and I don’t want the same for my daughter. I really need a caring opinion, for anyone who sees this and has an idea that could help.