This attitude is the problem, yep.
There's no other medical condition which only 0.8% of people ever recover from where we tell people to just keep trying treatments that we know don't work.
An individual's behaviour is a contributing factor in most diseases. But the hormones, social factors, etc. which determine that behaviour are beyond the control of willpower. GLP1s work because they treat the hormonal imbalances which cause the behaviour that causes weight loss.
We don't tell people they're pathetic for catching a cold, though our social organization put them in a place where their biological weakness to that disease was triggered.