I hate how I did it

But he was always trying to hook up with me which I was fine with when we were both single but the last time he tried it wasn't even a week later that he posted a picture of him snuggling with another girl I blocked him cuz I don't want any drama. Do y'all think I handled it badly