You are right that human health primarily depends on what he eats. Only you forgot about another function. Similarly, a person's health depends on his lifestyle and the state of the environment in which he lives. If you consider all this, you can maximally improve your health. For 2500 years much has changed and medicine has become much better. The human body, unfortunately, is still not fully understood.
RE: Let Food Be Thy Medicine- A Broad Discussion On Health Part 1.