What if you aren’t being heard?

I’ve tried to express to my s/O that what he’s doing hurt me and he is still justifying that he was right. And basically saying he’s a good man besides his flaws and haven’t apologized and basically said he won’t tolerate my “nasty attitude” but honestly it looks nasty to him but it’s because he’s not seeing where I’m upset. He is putting his mother first over me and his soon to be child. I don’t know what else to do. He is still agreeing that he is right. And I had no right to feel or be upset. I told him I don’t have to tolerate this. How can I be with someone who will not hear me out? And pick his mommy over his soon to be wife and kid.