Am I wrong for telling the father he’s not the childs dad?

After he’s wishing bloodclots and misscariage on me and saying he’s slept with someone in my bed last week when I was at the hospital visiting my uncle what’s passed?

I said it so he leaves us alone and lets me just get on with it hopefully