The problem is entirely about patients refusing to do what they know is good for them if it takes any self-discipline, so doctors resort to medication.

You can't force them to have healthy lifestyles.