For some individuals, keeping active, eating a moderate amount of food, and cutting down if clothes begin to feel tight, works well. Simple!
However, many others do not and can not regulate their weight that way. Nowhere near as simple!
Trauma, illness, medication, and many other factors contribute to obesity.
It is not enough to give them a 'simple' solution. Their needs differ and are complex. These medications for diabetes control (and weight control) are literally saving lives, and protecting against permanent disabilities. Yes, some healthy individuals use these medicines to maintain or even lose some weight.
I had to smile at DoodleDog and ViceVersa comments, but it does feel that some people have no compassion, understanding, or kindness towards others who struggle desperately because of being overweight. Please let us always be kind, compassionate, and caring as we accept people as they are. They are worthy, acceptable, and valuable members of society that deserve dignity and unstinting support.
It is not up to us to judge another. If slightly overweight people want to take these drugs as a means to getting and remaining slim, well that's their business! They will need to buy those drugs that genuinely obese people have to get prescribed by their health professional.