His wife sinned. That much is clear.
He took marriage vows. The Bible requires that he do everything possible to reconcile with her and to try and save his marriage.
Which will be nigh-impossible now that he’s outed her in such a public manner. That in itself is sinful.
If you read the whole article he probably had to go public because he was being blackmailed.