would you be okay with this? . Advice needed

I really need to vent and I don’t have friends to. So well, he’s a good guy, we have been together for almost 4 years, and have a daughter who’s 2 years old, we works and studies, I only study, we do not live together because we’re not financially stable, I got pregnant really young, I was 16 , now I’m 18, he’s 20. He loves me a lot and I know , and loves his daughter with all his soul, but sometimes I feel like we’re always on second place. I’m not a party girl, I go to the uni, and then go back to my house and take care of my daughter all day till he arrives from work, he only see us 4 days a week, (including weekends) he’s not really into partying but he goes out with his friends sometimes. We live in Mexico and I used to feel really sad because he went out only with his friends but not me, he said it was because of my age (I was not 18) but no I am and I’m expecting that he invites me and we go out together and have fun.

But, today he told me he was going with his two best friends to the beach for 2 days, I got really upset because it meant I was going to be at home , taking care of my daughter while he was going to be having fun. He told me he was taking me to Guanajuato and everything but still was going to go with his friends and i was not gonna change his mind. I am really sad because I feel his not really compromised with me and our daughter. Whenever I have the chance I want to go out with them. And if I was him of course I would first think to invite my girlfriend and daughter to the beach than my friends. I feel really sad, I can’t stop crying because he just said, we’re not married so there’s no compromise. I feel really bad, and sad and disappointed. I told him, that if he goes, I dont want to be with him...

What Would you do ?