Yes, calories burned during exercise is no a major part of weight loss. However with the right training you can raise your base metabolism. Otherwise when you diet your metabolism tends to slow, which offsets your decreased eating.
The Mayo Clinic’s own comment on this seems to agree. https://www.mayoclinic.org/healthy-lifestyle/weight-loss/in-...