This statement is true. From Medical News Today (https://www.medicalnewstoday.com/articles/270202#health-benefits)
According to an article published in Medical News Today, coffee can play a part in preventing several diseases and improving heart health. Some of these diseases include diabetes, Parkinson's, Alzheimer's, depression, CLD, etc. Although coffee shouldn't be consumed like water, it has been proven to have several health benefits when consumed moderately.
MEDICAL NEWS TODAY - Coffee may help protect against type 2 diabetes. In 2014, researchers who gathered data on over 48,000 people found that those who increased their coffee consumption by at least one cup per day over 4 years had an 11% lower risk of type 2 diabetes than those who did not increase their intake.
The findings of the 2017 meta-analysisTrusted Source suggested a link between coffee consumption and a lower risk of Parkinson’s disease, even among people who smoke. This team also found that people who drink coffee may be less likely to experience depression and cognitive conditions such as Alzheimer’s disease.
Earlier, in 2015, a cohort study of a multiethnic population in the United States suggested that depending on the dose, consuming two to three cups of coffee daily reduced the participants’ risk of developing hepatocellular carcinoma and chronic liver disease (CLD) by 38% and 46%Trusted Source, respectively.
In a 2018 study, researchers found that drinking three to five cups of coffee per day may reduce the risk of cardiovascular disease by 15%. Drinking one to five cups daily also seemed to be associated with lower overall mortality resulting from any cause.