Is it bad to deny an ex?

I deny dating my ex and pretend like I don’t know him which makes him very angry. I did not like the relationship, he treated me horrible.

Is it bad to deny an ex?
Post Opinion