You're taking two separate ideas and implying that they are supposed to be somehow consistent when consistency isn't required for either to be correct in some capacity.
By your logic, if a doctor smokes cigarettes, then their health advice to be patients is bunk. Perhaps the same could be said of a fat doctor. That analogy is of course not comparable, but it's similar enough on a judgmental level.