I think it could also be related to diagnosing these issues. Nobody knew about depression in the 17th century, so nobody was diagnosed with it. As time goes on, more and more people in different parts of the world have access to the facilities required for getting diagnosed with a mental illness.