Purely behavioral lifestyle interventions have the lowest long term success rates of all available treatments for obesity. It's especially unreliable if you have weight loss targets higher than 15%.
They are of course still widely recommended due to numerous benefits other than weight loss, but "highly effective" is just wrong in the context of obesity treatments.