Sad Breakup

So this guy and me have had “a thing” for about 2 Years now. Very on and off. So me and my friends saw him at a swim meet. We asked him to sit by us and he said maybe, but then he just ignored us and was REALLY RUDE the whole time. So I gave him taste of his own medicine and started ignoring him. He got pissed off and said that we were over and that I didn’t deserve him. Then I told him I didn’t deserve him because I deserve better. Opinions?