Many serious, life-limiting conditions such as cancer, diabetes, heart disease, have lifestyle factors in the mix. Obesity isn’t some moral outlier, so singling it out as less deserving of treatment is inconsistent at best.
Obesity is recognised by WHO qualified experts as a chronic disease. That is an undeniable fact. These medication were designed to treat disease - diabetes and obesity. Whether a minority is using only for cosmetic weight loss is irrelevant, the majority are using them to improve their health and prolong their lives.
Turning up to lecture people actually living with these diseases, armed only with half-baked opinions, isn’t touching nerves it's is showcasing your own ignorance and bias. If you want a productive discussion, start by interrogating your own assumptions rather than talking down to people who know the reality of chronic disease far better than you.