Yes.
But of course the framing wasn't "your depression doesn't matter" - the concept of "depression" wouldn't even come up. Even doctors would frequently not think to check for it. If it manifested psychosomatically, you'd get painkillers. If it manifested as difficulty sleeping, you'd get sleeping pills. And of course there was always self-medication with alcohol. All of these are worse than placebo in the long term. You could get a depression diagnosis, especially if you made a suicide attempt, but it was much rarer, and not a desirable diagnosis because you could get institutionalized into a psychiatric ward and stay there for months or years (especially if being there depressed you).
Before modern times of course, it was basically nothing. If you were lucky enough to see a doctor, and so lucky the doctor was at least equipped with the concept of "melancholia" (basically a catch-all category for mental illnesses), you might be prescribed hot baths and opium, which would have temporarily helped a little. But other than that, your prescription would be prayer and other placebos.
But other than that, your prescription would be prayer and other placebos.
But what's the problem with that if the difference between placebo's and the drugs is only so small?
It's not even clear that praying to a god who supposedly loves you has no positive effects and is worse than the the drugs.
There are also a variety of traditional remedies that should at least have placebo effects.
It's great to make people more aware of bad mental habits and encourage better ones, as many people have done on LessWrong. The way we deal with weak thinking is, however, like how people dealt with depression before the development of effective anti-depressants:
The only "anti-stupidity drugs" we have are nootropics. But the nootropics we have weren't developed as nootropics. Piracetam was, I think, developed to treat seizures. L-DOPA was developed to treat Parkinson's. No one knows who started using ginkgo biloba or what they used it for; it was used to treat asthma 5000 years ago. Adderall derives from drugs used to keep soldiers awake in World War 2.
And none of them are very good against stupidity. AFAIK, to date, not one drug has been developed by understanding and targeting the causes of different types of stupidity. We have the tools to do this--we could, for instance, sequence a lot of peoples' DNA, give them all IQ tests, and do a genome-wide association study, as a start.
We don't research these things because society doesn't want to research them. People don't conceive of stupidity as a disease that can be cured. We need, somehow, to promote thinking of stupidity as a mental illness. As something drug companies could make billions of dollars off of.