He pissed me off and I broke up with him in the moment (Read below for details) was I wrong?

I told him I had a dream about him cheating last night and he responded asking “you finally realized I was single?” than he laughed right away and said it was a joke but It made me so upset that I broke up with him over it. Now he’s sending paragraphs asking for forgiveness and saying I over reacted. Did I really over react?

He pissed me off and I broke up with him in the moment (Read below for details) was I wrong?
Post Opinion