There are plenty of historical records of people having anxiety or depression.
There's almost certainly a link between the prevalence and modern, always-on culture, but to suggest that it alone is the cause is blatantly wrong.