We should be clear here - bone density loss is not something intrinsic to ozempic, it has to do with your rate of weight loss, exercise and dietary habits, etc.
It is entirely possible for someone to modify their diet, lift weights, etc., while on ozempic and gain bone mineral density.
But if you don't do those things and just lose a bunch of weight really fast, you're going to lose density (and lean muscle mass)