To be honest, you are wrong for that, but like... You... You had every right to, but you still shouldn't have done it. It's just like... You should've just left, to be honest. Like, there's like no point on you staying in that relationship after she cheated on you. But like, you do you. Just like, I feel like that was wrong on you for cheating on her back. You should've just left the whole relationship.