How to be ok with being lonely

i dont have any friends and i am only 23. Im envious of all the girls i see on social media with their groups of friends all having fun on the weekends. I have a boyfriend that iv been with for 4 years and we live togethet but he has his own group of guy friends that he goes out with and has made it clear to me that their his friends and not mine, so i am often not included in any plans since his friends want “guys nights” only. I get it he likes to have guys night and im fine with that, it just makes me feel extra lonely. I just wish i had someone who would want to go out with me for once. Im 23 and all i do is cook, school and work and it honestly is making me depressed. i just dont want to feel like such a looser anymore sitting home all my by myself on a saturday night. I really dont have anyone but my boyfriend and that scares me. The other week we argued over something silly and he threw it in my face, making a snarky comment that i had no friends which hurt hearing from him tbh, even though i know its true. Idk i am trying not to feel sorry for myself and learn how to be ok with being alone but it just makes me so upset that i want friends so bad. I feel so pathetic. i was going to maybe try to push myself to go to the movies alone tomorrow while my boyfriend is out to try to help myself grow and learn to be independent