Background This study aims to reveal the interaction between environmental sustainability and health policies by examining the relationships between economic growth, carbon emissions, and healthcare expenditures within the framework of machine learning methods. The primary motivation of the research is to evaluate the relationships among economic growth, health indicators, and environmental sustainability using data-driven methods. ## Methods The analysis is based on a large-scale panel dataset covering 217 countries for the period 1960–2024, obtained from the World Bank World Development I