RANT should I stay & try or walk away??

My boyfriend (we have 2 kids together) is so much of a one sided person it kills me! First it started off with little things, like he'd want me to stay home to spend time with him instead of heading out for lunch/night outs with my friends, but when it came to him he wouldn't stay he'd always go, i could deal with that it wasn't to bad but when I wanted to go id go after realising he doesn't do the same for me. But now, he'll go on a night out with mates, chill with girls I know, talk to them all night, text them, etc etc I didn't mind because their my friends which his grown to be friends with too BUT if I'm out even shopping and bump into one of HIS mates and come home and tell him he low key gets mad and hates it. N the last stunt was one of my girlfriends friends from another state came for a party, we all went and had a great night, then the next day he literally messaged my friend about HER FRIEND about the way she dances (which was slutty) and if I even dare msg one of his friends then I'm wrong. I know these examples are so little & petty, but it's not about the people/things he says/does, it's the fact it's a one way street and If I was to do it I'd be the worst person ever. He says he understands where I'm coming from but continues to make excuses & says I'm 'overreacting' but if he understood he would either stop doing shit he doesn't like me doing OR quit stopping me from doing the things he does. I'm so done it's quite annoying and draining putting up with such stupid shit... anyone else be through this & fixed it somehow? Do I try and fix things or walk away! I'm at that point I'm over the unfairness and wanting to walk away .