Relationship 5 year advise

I been in a relationship 5 years we recently moved in together last year to a city with no family around. We have one child together and I have another one but he’s been in my child life since he been 2 my and my son is 6 now. Anywho we had an argument bout me going out or having some time to hang out and he hit me with the your a mother and you should’ve thought about that before you became a mom I personally think he think I’m just suppose to suck it up and just deal with. And let him continue hanging out with his friends while I always stay home with the kids. Should I stay or leave and just focus on me & my kids