The more you invest in a marriage, the more valuable it becomes.