I visited a cardiologist today, who has seen thousands of patients. He remarked that two big factors in staving off heart disease are staying slim and long term aerobic exercise.
Those two factors are under one's control.
(Nobody said it was easy, though.)
For example, I seriously doubt that lung cancer causes smoking.
Many of the studies that associate lifestyles with health outcomes have this issue with the causative arrow: disease tends not to enable activity.
These seem within one’s agency.