Religious men especially believe marriage is the magic pill that kills the porn habit. It isn't. Marriage and kids multiply your stress load, which is the exact trigger that drives you back to porn. If you don't deal with it before the ring, you're just importing the problem into a much more fragile environment.