Seems that exercise AND a good diet both play a factor in improving depression.

https://www.mja.com.au/journal/2013/...t-and-exercise

It has also been argued that depression is a human necessity, and that we learn the 'hard way' when we make mistakes in life, in order not to repeat them. Obviously for people with chronic depression, this is not the case.