Be strong and kind to yourself.
You did not deserve this behavior and betrayal.
I too had similar situation of WS not choosing me over OW. It is more hurtful than the affair. Just humiliating, plain and simple
You had every right to be there, he just got caught.
Hang in there, so many of us understand your pain