Introduction

The fundamental objective of the economies (with high GDP per capita) is to accomplish practical financial development and government assistance of the economy with mechanical advancement (clean ecological-based advances), improvement of natural strategies to moderate the level CO2 discharge (Yu et al 2020). According to Panayotou (1993), economies (after reached at highest level of income per capita) want to move from worse environmental condition to clean environment to get sustainable economic growth. The three stages of environmental Kuznets curve (EKC) premise shows that when economy moving from traditional agricultural sector to industrial sector then the ratio of environmental degradation is high at stage first. Finally, the EKC scheme shows that when the economy moves toward administrations area they requests for clean climate suggested that the scale, specialized, and synthesis impacts are the primary parts of the premises of the altered U-molded EKC. The scale impact is identified with the pre-industrialization stage where expands the degree of pay prompts increment the degree of ecological contamination, in this stage modern area is wasteful and fundamentally dirtying the climate.

Besides the positive side of foreign investment, it was often seen as the most controversial regarding their effect on the recipient’s growth level. Literature on FPI effectiveness has three basic points, and the first point was the positive impact of FPI on growth and development (Dalgaard and Hansen 2001. Now the world is the global village and many factors effecting economic growth economics, so it is very hard to peruse the answers of the questions usually like “what factor could determine the growth in long run.” Many factors influence the economic growth and determination of these factors is so difficult.

Determinants like capital which is in the form of human and physical capital and savings act as the main ingredients for economic growth (Romer, 1988). But some other factors which influences economic growth are FDI, net exports, and collection of remittances from foreign countries (Almfraji and Almsafir, 2014). It is observed that for the improvement in the living standards of the people economic growth encompasses the main role and main tool because it increases the education level, skills, and health of the people.

There was an adverse correlation between foreign assistance and growth rate of GDP, whereas foreign assistance posed negative effect in both long and short term on growth level. Economic growth is the most important instrument in decreasing the poverty and inequality and increasing the living life styles of the people mainly of the developing world. The main growth theories are classical theories (1776), innovative growth theory of, Keynesian theories (1930), neo-Keynesian theories (1950), neo-classical theories and exogenous theory of Robert Solow (1950–1960s), and endogenous growth theories (1980–1990s).

Additionally, there is a significant relationship and impact of CO2 emissions on healthcare expenditure and economic growth. Several other researchers Anser et al 2021a, b, c, Saleem et al 2019; Chaabouni et al. 2016) have investigated and found significant association between environmental degradation effects on health expenditure. A robust and healthy environment will make it easier to produce goods and services and form a productive and healthy working society in every area of life.

Moreover, this notion was also endorsed that the strength of economic development in a nation and community is dependent on the stabilization of the healthcare systems. Also, the results confirm a positive correlation between health spending vs. economic development in terms of Pakistan by demonstrating that ecological conditions are not treated to an adequate degree during her planning process, which contributes to adverse health effects. The researches conducted on Pakistan to date are bivariate in terms of CO2, healthcare spending, and economic growth, while several studies have found links between health and development, as well as pollution and growth.

During the last two decades, the energy and environment sectors have gained intensive attention due to economic, social, and environmental reasons; these sectors grow tremendously, which is the primary concern of the energy sector policymakers, economists, and researchers. In relation to energy and environment sectors expenditures, a number of studies exhibit that the increased government spending on environment improve human life expectancy (Qureshi 2009; Prasetyo and Zuhdi 2013; Anser et al, 2021a, b, c, Arif et al., 2021, Fadilah et al. 2018), and others are, Wang (2011), Oni (2014), and Kurt (2015) and two key hypotheses on energy expenditure have been established. According to the approach of the first hypothesis, spending on energy is like another spending on other luxury items. Another side of the hypothesis suggested that the government spending on energy is just like a basic necessity of life, and market forces determine the energy and environment sectors spending rate.

Review of literature

According to existing literature, the “energy consumption and economic growth are induced CO2 emission nexus can be subdivided in three categories for instance; the association between energy and growth, the association between growth and CO2 emission, the association between energy and economic growth and CO2 emission.” The nexus between growth and energy has been employed by the various researchers and they followed the semi work of in their empirical work. The energy-growth nexus postulates three hypotheses, i.e., growth, conservation, feedback, and neutrality hypothesis. Energy utilization is consolidated in the financial development actuated outflows in the current writing. The construction of energy utilization can be partitioned into inexhaustible and non-sustainable power use. The significant supporter of ecological debasement is nonrenewable energy as far as petroleum products. The utilization of nonrenewable sources through energizes ignition is discouraging the natural quality with builds the degree of CO2 emanation (Shabbir 2016). Energy is the principle fixing during the time spent creation; it is the foundation of the modern area. The objectives of monetary development cannot be accomplished without the utilization of fuel sources and an ascent in financial development. It further builds the degree of energy use and both move equal together (Shabbir 2018; Muhammad et al 2020; Liu et al 2020).

Moreover, environment quality and energy led economic growth have causal relationship and interrelated to each other. The growth of the economy highly depends on the energy sources; analyzed that more noteworthy the utilization of fuel sources may expand the degree of financial development. The creation interaction of the merchandize required energy as mandatory information and without energy different financial exercises cannot develop. Moreover, current monetary development needs energy for modern development, efficiency, and exchange also.

Asghar (2008) assessed the circumstances and logical results of financial development and utilization of fuel sources, where monetary development essentially intensifies the degree of energy use and consequently energy altogether upsurge the degree of GDP development. The energy-development nexus has been examined in different experimental examinations; however, results are as yet uncertain.

The future of fossil energy depends upon the decisions of the top leading organizations because their choices may affect the market situation and the expectations of the decision-makers. Further, it was also observed that technological advancement worked as a key indicator that identified the dominancy of the global trend of fossil energy resources by 2040. On the other hand, the second school of thought determined that the expenditure on the renewable energy sector and economic growth have a bidirectional association (Atilgan et al., 2017). More spending on the energy sector increases the economic growth; on the other side nation with higher GDP can be able to spend more on the energy sector and vice versa. In the recent era, CO2 emission and expenditure on the energy sector have to grab the attention of policymakers, healthcare and environmental specialist, and researchers showed that there was a strong positive significant correlation between CO2 emissions and economic growth. In 30 provinces of China, Lu et al. (2017) studied the relation between the CO2 emission levels and their environmental effects on public health. The findings indicate that both variables are correlated negatively and significantly while facilities and the state of the health sector have a direct influence on public health and economic development.

Similarly, more spending on the healthcare sector enhances the condition of the workers, which enhances their level of efficiency; hence, their productivity increases that ultimately enhances economic growth. On the other hand, the second school of thought determined that the expenditure on the health care sector and economic growth have a bidirectional association (Atilgan et al., 2017). More spending on the health care sector increases the economic growth; on the other side nation with higher GDP can be able to spend more on the healthcare sector and vice versa. In the recent era, CO2 emission and expenditure on the healthcare sector have to grab the attention of policymakers, healthcare and environmental specialist, and researchers showed that there is a strong positive significant correlation between CO2 emissions and expenditure on healthcare. In 30 provinces of China, Lu et al. (2017) studied the relation between the CO2 emission levels and their environmental effects on public health. The findings indicate that both variables are correlated negatively and significantly while facilities and the state of the health sector have a direct influence on public health and economic development.

Examined the link between CO2 and SO emission and health care expenditure in a case study of Iran from 1967 to 2010. The study employed ARDL and co-integration technique, the result suggested that the emission has a positive and significant link with healthcare expenditures studied the economy of Ghana for the period of 1970 to 2008 by taking the three variables, i.e., health care expenditures, GDP, and CO2 emission, and found the association between them. The FMOLS technique was used to determine the association between them and explored the positive association between GDP and the healthcare sector while the negative association between CO2 emission and the healthcare sector. A small number of researchers also investigated the association between healthcare expenditure and CO2 emission and found a positive and causal association. The investigation is based on panel data (Li et al, 2021; Saleem et al 2019; Shabbir et al., 2021; Yikun et al, 2021; Chaabouni et al. 2016; Jun et al, 2021; Khan et al, 2021a, b, c, d; Muhammad et al., 2021; Arslan et al 2021); rapid per capita income growth was found, from 1980 to 2000 the growth of per capita was stable, and after 2000 an increasing trend was seen in per capita growth.

Examine the energy issues confronting society from a worldwide governance point of view. It contends that an idea of “worldwide energy governance,” interpreted as meaning global aggregate activity endeavors attempted to oversee and convey energy assets and gives power services, offers a significant and helpful structure for evaluating energy-related difficulties. The research starts by investigating the ideas of governance, worldwide governance, and worldwide energy governance. It at that point inspects a portion of the current organizations set up to set up and do rules and standards overseeing worldwide energy issues and depicts the scope of institutional plan choices accessible to policymakers.

have pointed out several factors that drive the world energy market future; these variables include population and economic growth rate, the intensity of energy and technology used for the process of production, available alternative sources of energy, and environmental hazards which arise due to emission of harmful gasses.

Methodology

This study includes twenty-two (22) emerging and developed economies, such as “Australia, Belgium, Canada, France, India, Italy, Hong Kong, Germany, Japan, South Korea, Malaysia, Netherlands, Pakistan, Saudi Arabia, Singapore, Spain, Sweden, Switzerland, the United Arab Emirates, the UK, the USA” and other countries (general countries) are used as FPI sources to investigate the impact of “sustainable economic growth” channels on foreign private investment. The independent variable of this study is FPI, which includes “foreign direct investment” (FDI) and “foreign portfolio investment” (FPI) from these 22 countries, while “sustainable economic growth is the dependent variable, energy consumption and carbon dioxide emissions are the instrumental variables for our research. However, trade, exchange rate, and GDP growth rate are policy variables.” The proxy for the dependent variable (“sustainable economic growth”) is considered GDP. All data sets are from the “World Development Indicators” (WDI). This study consists of data set from 2000 to 2019. In addition, this review assesses the worth of interests in our uneven board informational collection using irregular impacts from generalized least squares (GLS).

$${GDP}_{it}=\alpha +{\beta }_{1}FP{I}_{it} \mathrm{Values}+{{\beta }_{2}X}_{it}+{\varepsilon }_{it}$$
(1)
$${GDP}_{it}=\alpha +{\beta }_{1}FP{I}_{it} \mathrm{Count}+{{\beta }_{2}X}_{it}+{\varepsilon }_{it}$$
(2)

In above equations, two models are explained as FPI value model and FPI as count model, whereas Xit denotes all the instrumental and policy variables of our study. After adding Eqs. 1 and 2, we get Eq. 3.

$${GDP}_{it}=\alpha +{\beta }_{1}{FPI}_{it}+{{\beta }_{2}CO2}_{it}+{{\beta }_{3}EC}_{it}+{{\beta }_{4}TRADE}_{it}+{{\beta }_{5}G.GDP}_{it}+{{\beta }_{6}EX}_{it}+{\varepsilon }_{it}$$
(3)

where FPIit is the value of FPI in year t (t = 1,... T) from country (i = 1,... I). This study has implied the Poisson and negative binomial models. Cameron and Trivedi (2013), Li et al. (2021), Arif et al. (2020), Shabbir and Yaqoob (2019), and Hilde (2011) explained the “better understanding regarding adverse binomial methodology.” Furthermore, this analysis comprises and tests on below two hypotheses.

  • Hypothesis 1: “It is expected that FPI can positive affective toward the country’s economic growth, which could be sustainable pollution haven hypothesis across the countries.”

  • Hypothesis 2: “There is an inverted U-shaped environmental Kuznets curve (EKC) association between CO2 emissions, energy consumption, and GDP growth.”

Descriptive analysis

The purpose of such descriptive statistics is to interpret and summarize data in a formal way. This test further tells us the usage of parameters and tests within parameters. The table of means explains the average between the variables. Table 1 shows the “values of GDP, foreign private investment (FPI), trade, carbon dioxide emissions, energy consumption, per capita GDP growth rate, and exchange rate.”

Table 1 Descriptive statistics

Correlation analysis

Table 2 provides the association among the dependent and all independent variables (“values of GDP, foreign private investment (FPI), trade, carbon dioxide emissions, energy consumption, per capita GDP growth rate, and exchange rate”). The GDP (0.011), trade (0.011), CO2 (0.050), EC (0.020), G.GDP (0.031), and EX (0.131) have positive relationship with foreign private investment (FPI). The gross domestic product values is positively associated with trade (0.412), CO2 (0.443), EC (0.049), G.GDP (0.043), and EX (0.313). The trade is positively correlated with CO2 and exchange rate, while the trade is negatively correlated with energy consumption and G.GDP. The CO2, energy consumption, per capita GDP growth rate, and exchange rate have positive relationship with each other.

Table 2 Correlation analysis among variables

Table 3 shows generalized least squares (GLS) and negative binomial model estimations (NBME) through two models such as FPI value model and FPI count model, respectively. All the values in both models show statistical significant and positive impact on each other. However, FPI value model is more effective and reliable findings as relatively compared with FPI count model on base on F-statistics.

Table 3 Generalized least squares and negative binomial model estimations

Table 4 represents the primary penal VAR estimation by using GMM, and the coefficient suggests that there exists a positive association between CO2 emission, healthcare expenditure, energy production, population growth, and life expectancy; moreover, the first three variables are leading variables while the rest are control variables. The result shows that CO2 emission and healthcare expenditure have a direct and significant relationship at a p < 0.01 level of significance.

Table 4 Main estimation of panel VAR

The findings highlight that a 1% increase in CO2 emission causes a 0.45% increase in healthcare expenditure that means that a higher CO2 emission rate refers to environmental deprivation, which causes an increase in healthcare expenditure. The higher CO2 emission is also due to increased energy production, which causes environmental pollution and making people sick that ultimately increases healthcare expenditure. Hence, the estimated results support that there also exists a bidirectional association between healthcare expenditure and CO2 emission rate, and the results are significant at a 0.01 level of significance (Table 5). However, some variables of our study findings are similar with Khan et al. (2021a, b, c, d) and Lyu et al. (2021).

Table 5 Results of hypothesis

Conclusion and policy implications

It is concluded from the study that the foreign investment has a positive impact on economic growth in short run and long run, respectively. Perhaps it might be because of good economic policies from government of China or the amount of investment increases over time. FPI has also some moral hazards that receipt country usually dependent on investment, aid and donor countries can exploit them by putting some restrictions or harsh terms. So countries should rely on their own resources and chose those policies which provide favors in growth level.

Moreover, foreign direct investment and gross domestic investment have positive impact in short run and long run, respectively. Moreover, the policies should encourage which increases investment from foreign countries and it has more impact on growth level rather than investment because when foreign direct investment is linked with capital utilization, research and development, technological improvements, and easy market access it increases growth.

The findings of the panel VAR coefficients determined that all variables have a causal relationship; healthcare expenditure and CO2 emission comprise a bidirectional and positive relationship. In contrast, energy production and CO2 emission and energy production and trade expenditure have a positive but unidirectional association. The purpose of this research is to point out the attention of higher authorities to find the causes of pollution and find alternative means of energy resources that are environmentally friendly and enhance economic activity. Moreover, better energy resources not only improve the production capacity and preserve the ecosystem which leads toward a clean environment that also enhances the quality of life and increases life expectancy. Hence, the main objective of this research is to determine the alternative energy resources in other words utilizing fossil energy, which is imperative for better life quality and economic development as well.

Three leading variables are used for research, but these variables are not fully utilized due to the number of reasons, for instance, FPI is used as a general term the sectorial division or the percentage rate of growth or some other proxy variables ignored the same for the CO2 emission rate and energy production. So the policies should be developed that encourages more to the investment including foreign direct investment rather than aid. However, the investment in human and physical capital can increase the labor force, which would be more productive in producing high quality products. But for this achievement correct polices should be implemented with the removal of corruption and mismanagement with the increase in the power of institutions and political stability.