I would assume that "doing something" is the key here? Successfully doing exercise probably has add on benefits that you can more successfully do other things afterward. But successfully reading a book can help me get out of depression. Successfully cleaning the kitchen. Really, just successfully doing anything is a huge cure against depression.