Yes. If you are aiming just to lose weight, what you eat is far more important than how many gym hours you are spending.