You state of health is a combined interaction of your inherited genes and your environmental conditions.
For instance, if you eat badly, living in a place with high pollution and viruses with little exercise and too much stress you are likely to exceed your natural ability to adapt and eventually develop health issues.