Correct. GLP-1 Medications (and now in combination of GIP) are helping people to loose weight, even in people without diabetes [FDA approved for weight loss].
To a much lesser degree SGLT-2 Inhibitors and even Metformin have shown some minor weight benefits in certain people.
Talk to your healthcare provider about different strategies and options for help with weight management.