There's a lot of reverse causality in that relationship. Being badly overweight makes exercise more unpleasant and prone to cause injury.