That are several conceptual mistakes here.
Many illnesses, including many cancers, are somatic changes, where changes in the genes or signalling pathways that are not inherited & occur during development with or without exposure to environmental influences. Eg. smoking + lung or bladder...