Male friends with relationships?

It’s been a while since I’ve been on here bc people telling me to just break up with my boyfriend which I won’t do. But i need advice. I haven’t had friends since like middle school. I’m 18 now and turned to making friends online. I made one friend who I genuinely see the friendship working long term but my boyfriend absolutely hates it. He’s a boy so I’m assuming what’s why as he didn’t say anything and me talking with girls online but those unfortunately didn’t amount to anything. A few weeks after the friend Robert and I spoke he invited me out. I did decline but was really excited as it’s been years since I felt like someone wanted to be friends with me. My boyfriend said it was sketchy for him to be inviting me out so soon. After waiting to make him comfortable we finally made plans to hang out which I told my boyfriend about. They did fall through but my boyfriend was cold to me the whole day. And said he hates him that he can’t express it to me bc then he’d be hating on my only friend and can’t talk to anyone else bc then he’d be humiliated. I don’t know what to do. On one side I feel for him and understand why he feels like that but on the other I don’t want to have to cut off friends who are guys because of our relationship. I’m both sad hurt angry everything. Idek advice? And he does have online friends which are girls as well but he says it’s not the same bc he’s known them for a while
Male friends with relationships?
Post Opinion