We generally don't shoot people in the head when they've been diagnosed with lung cancer so society doesn't save any money there. So the extensive treatment required to treat lung cancer is greater than somebody not getting treatment because they don't have lung cancer.
To be more succinct, there's a large difference between a person requiring lengthy treatment for lung cancer(hospital + morgue) before ultimately dying compared to somebody dying due to old age(morgue).