That the prevalence of a chronic illness increases with age is completely unsurprising. The fact that depression is (incorrectly) thought to be the opposite of happiness is a coincidence. I'm not sure that people get happier with age, but I am sure that depression statistics cannot disprove it (within reasonable bounds. Obviously it would if it turned out everyone over 40 were clinically depressed.)