According to that link the medical cost of obesity is $147 billion. Healthcare spending in the US is around 3.3 trillion. Obesity is a problem, but it is not the main driver of medical costs. Also, we are already paying for the healthcare of obese people through insurance premiums and taxes. Proper socialized health care would incentivize and allow for more preventative treatment for obesity-related problems.