Not necessarily. Most conditions depend on both genetics and environmental and lifestyle factors.
Lung cancer is a clear example: someone with high genetic susceptibility and healthy habits may never develop it, whereas someone with low susceptibility who smokes may do so. Knowing your susceptibility can help you pay closer attention to the factors you can change and discuss them with your doctor.
