You want to justify one spouse’s adultery by saying the other one did it too?
Just wow.
Single or married sex outside the bounds of marriage is immoral. Period end of story