This needs proper timing though. Too early, and you push your spouse to the OP.
For the record, to those that advocate this approach, this is precisely the idea. The concept being that it removes the illicit "fantasy" and "mystique" from the affair, and forces them to deal with each other's bad habits, daily-life realities and responsibilities, etc., etc.
I believe affairs are highly addictive, and I know of no other addictions (gambling, drugs, porn, etc.) that simply "fizzle out over time." Most, in fact, escalate.
This isn't about being "right"; it's about requiring the boundary that the wayward spouse end all contact with their affair partner, so that they can go thru the withdrawal of that endorphine rush, and begin to -- over time -- be more open to their betrayed spouse's emotional needs.