Boyfriend and social media

He recently fucked up with flirting in comment section with another girl. I found the messages and we resolved the issue and he deleted the comments.

Although I didn't break up and he says he still wants me. I can't help but feel he is continuing with the same behaviour.

He's always liked other woman's social media posts and I can't get him to stop so I gave up on that. I love him a lot and wish I knew a way to cope better with the betrayal.. Any suggestions?