What’s wrong with me

My boyfriend keeps ditching me last minute to go out with hes mates, we see eachother every day so when he does ditch me last min I have nothing to do and I think it’s rude. Hes going out more and more lately and I think it just shows he’s bored of me, we’ve been together 2 years and now I think he misses he’s friends, whereas I want to be with him all the time but he doesn’t it seems.

What do I do?