I think of it more as discouraging. If people really want out, they still have a way, but it would cost them, and their spouse would be protected from divorce-rape.
Well at least we agree on that.
Honestly it makes their position that much more unreasonable. But as far as religion, well, I...