Winston Churchill referred to his depression as a 'black dog' [see here]. However this article [here] describes a study that found that dog ownership can be helpful to those suffering with depression. This other article [here] describes how having a dog might be helpful (for depression and other conditions), for example by decreasing loneliness and increasing levels of activity through dog walking.