A large-scale study found a surprising link between marital status and the risk of developing cancer.