Did I overreact?

I’ve been dealing with some serious emotions lately not far off depression, so when I wanted my partner and I to walk our dogs at sunset and he agreed to only cancel 10 minutes later because his friend decided he was coming to our house I got upset. I put my shoes on and got in the car and drove until I found a random spot I could just park and think.

But I just walked out of the house. I couldn’t say anything to him because this is just another time he’s chosen time with a friend over me.

Also, he sees this friend like every other day because he decides he’s going to just show up at our house

Did I overreact? Honest answers pls