That's one side of research. Other studies, however, come to an opposite conclusion, namely, that coffee consumption may shorten lifespan, raise cholesterol and triglycerides, increase inflammation markers, and if you are a genetically-slow caffeine metabolizer, it may increase the risk of non-fatal heart attacks. Other studies show it may cause insomnia, fatigue, cerebral infarction, as well as cardiovascular complications and caffeine withdrawals. In women, it may interfere with contraceptives ad postmenopausal hormone balance.
Dr. John Douillard, who writes about this issue, (https://lifespa.com/coffee-extends-life-according-global-study/) offers this way of responding to scientific studies which contradict one this way: "Whenever I see conflicting science on both sides of the scientific aisle—which is all too common—I look for wisdom from our ancestors. What was the traditional use of coffee? What were the predicted benefits and risks from traditional systems of medicine that have been in place for thousands of years?"