Has there been a study that weighs benefits from studies of coffee consumption against the societal health impacts of coffee production? I mean we have coffee farmers developing kidney disease (https://pubmed.ncbi.nlm.nih.gov/24878647/) and the environmental impact of its cultivation and shipping (https://www.sustainablebusinesstoolkit.com/environmental-imp...). It's the second most tradeable commodity after oil but as it's largely unnecessary for society to function. I would doubt it would come ahead as a net positive for humanity.