Semaglutide was invented in the early 2000s. Weight loss is an extremely complicated and societally mediated problem that we didn't have a 'cheat code' like this for until recently.
It behaved similarly but had a half-life of only a few hours. It required daily injections, and you could feel its effects wax and wane throughout the day.
Foods with both sugar and fat make you gain weight, e.g. ice cream is 50% sugar 50% fat. Eat ice cream every day and you'll only gain weight.
The only "social problem" we now have is that women are on a power-trip rebelling against the men who used to keep them honest about eating. Hence "body positivity" from feminists.