Exercise is still good, but it doesn't do magic if you live unhealthy the rest of the time.
(That being said, I wonder if the extreme types of workout many people promote is actually good, or if it does more damage than good in the long run. I guess some people believe that one extreme can out-weight another extreme.)