Leaving aside edge cases (e.g preexisting chronic illness). This is mostly irrelevant for software engineers even for the ones without top of the market compensation.
Health care costs shouldn't be of too much concern for young professionals (those more likely to move). Eating well and exercise should come first, because even if healthcare is free or cheap - who wants to be sick in the first place?
Your well being doesn't always depend on your diet and exercise. Viruses like Coivd or other bugs you can get from a simple surgical procedure like a root canal, preexisting and congenital conditions that hit you later in life, accidents, are a thing for many people despite balanced lifestyles.
Certainly. But if we compare how much Americans are happily paying for health insurance and Europeans are happily paying in taxes, with the cost and effort of a healthy life style, the healthy life style is much cheaper. And accessible all over the world.
The US food is terrible, GMO everywhere with artificial, sugary taste that ‘deactivates’ the natural senses of your mouth, so everything needs sugar to taste “okay-ish”. It is more cognitively and economically expensive to be healthy in the US than in Europe.