Losing weight is mostly solo mission, you are against your bad habits.
Gaining friends is fun.
People rarely lose weight, because it's hard to do it and the pain of going through the process is greater than the benefits.
But, people love to make friends, at least the majority do, so why not combine it. Make friends who are into a particular sport. Socialize with them and try this sport more often.
You will be surprised how suddenly you will have good times and feel and look better.
We try to go solo on many journeys, which should be better taken with friends.