Obesity is much more about eating too much than it is about exercising too little. A quick snack to reward yourself for going to the gym can easily contain more calories than the exercise burned.
riding my bike home from work (a bit over 3k with >100m net elevation gain) burns less than a chocolate bar worth of calories.