Food I think is very important in moderation. Most things you eat can be good for you.
Now, exercise is great for you, I agree on that. If you eat anything and exercise well, that can be beneficial only if you do it often. When you eat all types of food and don't get physical exercise then, it's not going to help you.
Once in a while you can eat anything and not exercise. But, contantly eating and no exercise to help burn off the food can lead to medical problems to your body.
I believe that you have to do both in good ways, not too much of one and too little of another. You need both exercise for your body, and food to keep you going.
Just not so much of either thing. Balance one over another daily.