Introduction

Industrialized and developing economies share the common objective of achieving economic growth and long-term development. But there are inevitable roadblocks to achieving such objectives, such as environmental deterioration. Environmental degradation is the most commonly debated hazard in achieving the required level of sustainable development; the link between environmental degradation and sustainable economic development is complex (Asongu et al. 2020). CO2 emissions wreak havoc on the world’s climate, causing climate change and environmental degradation (Adebayo et al. 2021; Asongu et al. 2020), leading to various environmental issues such as air and water pollution, ozone layer hazards, persistent organic pollutants, imposing hazarded consequences on the sea and high mortality rate in every viable state (Ali et al. 2021). CO2 emission in the atmosphere has caused the earth to warmer about 1°, which is supposed to cross 1.5° from 2030 to 2050, as global emissions are rising (GSDR report 2019). COP26 represented the 200 nations around the world to discuss and agree on the Glasgow Climate Pact and ended on 13 November 2021. The Glasgow Climate Pact will agree to accelerate climate change actions such keep limiting the temperature to 1.5 °C, phasing down unabated coal power, reducing emissions (mitigations), helping climate change impacted countries (adaptation), financing to meet climate goals (finance), and working together to deliver greater actions against climate change (collaboration). Keeping in view the importance of climate change and its worst impact on the environmental quality, the world has become conscious to take the prudent strategical measures to mitigate it. Hence, there is significant proof of man-made global warming and climate change throughout the world, and the top ten fossil fuel energy-using economies (China, USA, India, Russia, Japan, Iran, Saudi Arabia, South Korea, Germany, and Canada) and top ten renewable energy-using economies “Germany, UK, Sweden, Spain, Italy, Brazil, Japan, Turkey, Australia, and the USA” are not immune to global warming wave.

Energy demand is critical to both emerging and established countries’ socioeconomic, economic growth, and development (Nathaniel et al. 2019), so as in fossil fuel and renewable energy-using economies, a well-balanced blend cannot be overlooked when it comes to economic growth and sustainable development. In China, the energy demand increase is striking, around 10% more than in 2019, and consumes 23.77% of fossil fuel and adds 27.82% of carbon dioxide (CO2) emissions globally (Zhao et al. 2022). However, United Stated produces 20.4% of natural gas and consumes a major portion of it, causing environmental degradation (Korkmaz 2022). Whereas India is the 3rd largest CO2 contributor in the world, consuming 7.1% coal, 2.9% oil, and 6% gas as fossil fuels (Sahoo and Sahoo 2020). Therefore, Fossil fuel energy sources have resulted in a serious concern in international economies: increased CO2 emissions. Economic development and fossil fuel energy use has a considerable positive relationship, supporting this nexus (Faisal et al. 2021a). Because of its unfavorable nature to the environment and ecology, increasing fossil fuel energy use leads to economic development and higher carbon dioxide emissions. The positive relationship between energy and economic growth renders to more energy consumption, resulting in higher CO2 emissions from nonrenewable energy sources, which are harmful to the atmosphere and biosphere (Ramzan et al. 2022). Figure 1 shreds evidence that China’s economic growth uses environmentally unfriendly fossil fuel energy sources at the cost of increased CO2 emissions. However, renewable energy sources provide a solution to international economies: decreased CO2 emissions. This position is supported by higher renewable energy use and leads to sustainable economic development, resulting in decreased CO2 emissions because of its clean and climate-friendly nature (Bekun, Alola et al. 2019; Yuping et al. 2021). Figure 2 depicts that Germany has adopted climate-friendly energy policies to attain sustained economic development.

Fig. 1
figure 1

CO2 emissions, renewable energy consumption, and fossil energy consumption in China. Source: This study

Fig. 2
figure 2

CO2 emission, renewable energy consumption, and fossil energy consumption in Germany. Source: This study

This study parallels the existing literature (Adams et al. 2020; Adedoyin et al. 2020b, 2021; Aslam et al. 2021; Bekun 2022; Bekun et al. 2022; Dingru et al. 2021; He et al. 2021; Islam and Abdul Ghani 2018; Li et al. 2020; Martins et al. 2021; Nathaniel et al. 2021a; Nawaz et al. 2021; Naz et al. 2019; Sheraz et al. 2021) embraces CO2 in place to comprehensively understand the environmental quality.

For the following reasons, this study focuses on the top 10 fossil fuel energy-using economies and top 10 renewable energy-using economies: (1) The fossil fuel energy-using economies are the top ten in the world relying heavily on fossil fuels such as 33,512 TWh (China), 21,891 TWh (USA), 8613 TWh (India), 7276 TWh (Russia), 4536 TWh (Japan), 3340 TWh (Iran), 3061 TWh (Saudi Arabia), 2988 TWh (South Korea), 2826 TWh (Germany), and 2608 TWh (Canada) for economic development. At the same time, the top 10 renewable energy-using economies of the world are engaged in energy efficiency transition and consume a higher proportion of renewable energy to total energy, such as12.74% (Germany), 11.95% (UK), 10.96% (Sweden), 10.14% (Spain), 8.80% (Italy), 7.37% (Brazil), 5.30% (Japan), 5.25% (Turkey), 4.75% Australia, and 4.32% (USA) for economic development. As seen through economic growth, fossil fuel-dependent economies consume more traditional energy than renewable energy, thereby indicating a significant contribution of CO2 emission globally and imposing environmental challenges. (2) Contrary to the rest of the world economies, most economies in the current study are economic world leaders, embraced rapid economic growth, and control higher chuck of the world economy, such as China, the USA, and India. All together (the top ten fossil and top 10 renewable energy-using economies) contribute 74% of the world GDP and account for the US $42.75 trillion of foreign deposits. The average annual economic growth of fossil fuel energy-using economies is higher than renewable energy-using economies. For instance, in 2019, China, the USA, India, and Japan have an average annual growth of 5.9%, 2.2%, 4%, and 3%, respectively, as compared to the UK (1.4%), Italy (0.3%), Spain (2%), and Sweden (1.4%) (World Bank 2019). As seen through economic growth, fossil fuel-dependent economies consume more traditional energy than renewable energy, thereby indicating a significant contribution of CO2 emission globally. As a result, solid policies are necessary to comprehend the environmental implications of this economic development to reverse the current trend, particularly in fossil-fuel-dependent nations. Both groups of economies are now at a fork in the road in terms of new environmental regulations, making the area an appealing case study for examining the causal link between environmental preservation, economic development, and human capital development. Furthermore, the findings of this research will aid policymakers in developing effective policies to combat environmental degradation and improve human capital development.

This research aims to look at the impact of human resource development on environmental quality in the top ten fossil fuel and renewable energy-using economies. This research will reveal the environmental impact of human resource development and inform the strategies needed to mitigate the consequences of carbon dioxide CO2 in the environment. This study also considers exploring the possible nexus between economic growth, fossil fuel energy, renewable energy, gross capital formation, population expansion, and trade openness on environmental protection in both groups of economies.

Several previous studies have looked into the impact of economic expansion, fossil fuel energy, renewable energy, gross fixed capital formation, population increase, trade openness, and human capital on environmental devastation (Adedoyin et al. 2020c; Bekun et al. 2019a, b; Islam and Abdul Ghani 2018; Khan et al. 2019; Naz et al. 2019; Nguyen et al. 2021; Shen et al. 2021; Talbi et al. 2022; Zafar et al. 2019a). Unfortunately, these studies have focused directly or indirectly on a single country or group of countries while ignoring the comparative analyses of the top 10 economies heavily dependent on fossil fuel energy and the top 10 economies consuming renewable as a major proportion of total energy. As a result, the scope of this research will be expanded with the goal of better understanding environmental quality. It is expected that using such a comprehensive measure of environmental quality, the effect of economic expansion, fossil fuel energy, renewable energy, gross fixed capital formation, population growth, trade openness, and human capital on environmental degradation will provide more perceptive directions to both groups of policymakers to attain sustainable economic development under sustainable development goal (SDG-7).

This research study has an enormous contribution: (1) as per the authors' best knowledge, and it's the first study to look at the comparative nexus between economic development, fossil fuel energy, renewable energy, gross fixed capital formation, population growth, trade openness, human capital, and carbon emissions in the top 10 FF and top 10 RE energy-using economies. (2) The impact of economic development on the environment, fossil fuel energy, renewable energy, gross fixed capital creation, population growth, trade openness, and human capital were all constrained in previous research. Environmental deterioration and climate change are worsened by human activity. Despite the growing number of research on how to mitigate the threat of environmental degradation and climate change, the challenges remain unabated. As a result, to limit environmental deterioration, it is necessary to look beyond traditional thinking and examine other factors such as education and awareness. As a result, human capital was included in the nexus for the economies investigated in this study. This is a big step forward from prior research, which largely overlooked the critical importance of human capital in maintaining environmental quality. (3) This study is also much stronger in terms of methodology than previous studies of the environment and human capital nexus because, unlike previous empirical literature, it employs a set of second-generation panel data techniques that address some potentially important panel data estimation issues such as cross-country heterogeneity and cross-sectional dependence (CD). In addition, this study used the cross-sectional autoregressive distributed lag (CS-ARDL) approach, which produces more reliable findings than other panel data estimators. This will aid policy alignment to meet the unique characteristics of blocs under study. As a result, a more policy-oriented outcome.

The rest of this work is structured as follows: the literature survey is summarized in the “Literature review” section; the data and methodology are outlined in the “Method and data” section; the results and discussion are presented in the “Empirical results” section; and the conclusion and policy suggestions are presented in the “Concluding remark and policy implications” section.

Literature review

Existing research has shown a nexus between economic growth, trade openness, renewable energy, fossil fuel energy, and CO2 emissions, while others have found a link between human capital, gross fixed capital formation, population, and CO2 emissions, with varied findings. Therefore, the literature is broken down into two categories.

Trade openness, economic growth, renewable energy, fossil fuel energy, and CO2 emissions

The nexus between trade openness and environmental deterioration has received a great deal of consideration in the literature, with blended findings. Ramzan et al. (2022) examined the potential consequences of trade openness on the ecological footprint in Pakistan from 1960 to 2019. They testified that economic growth, trade openness, foreign direct investment, fossil fuels, and information and communication technologies add to the ecological footprint. Likewise, for Malaysia, Aslam et al. (2021) had used the autoregressive distributive lag (ARDL) model on the data from 1971-to 2016 and stated that trade openness intensifies CO2 emissions, along with economic growth, industry, and liquid fossil fuel consumption. Nguyen et al. (2021) extracted parallel inferences like Ramzan et al. (2022) and Aslam et al. (2021) even though the research was conducted for G-6 countries. Solarin et al. (2021) utilized the dynamic ARDL technique to inspect the effect of trade openness and economic growth on the ecological footprint of the Nigerian economy on data spanning from 1977 to 2016. They revealed that trade openness increases carbon dioxide CO2, similar to findings of Yu et al. (2019), Ali et al. (2020a), and Zameer et al. (2020); however, economic growth and foreign direct investment wrested a more exacerbate impact on the environment. Ahmad et al. (2020) examined the trade openness and CO2 emission hypothesis existence in bet and road countries for the period 1990–2017, employing a panel regression estimator. The results supported the hypothesis in low-income countries. However, foreign development, energy consumption, and urbanization degrade the environment, with economic growth having U shape association, whereas foreign direct investment improves it. Similar results have been supported by Munir and Ameer (2018), Ibrahim and Ajide (2021), and Saud et al. (2019).

There are numerous research studies that show that trade openness has no adverse impact on environmental quality. For instance, Alola et al. (2019) examined the effect of trade policy on environmental quality (ecological footprint) in 16 Europe countries on data spanning from 1997 to 2014. Results from panel pool mean group autoregressive distributive lag (PMGARDL) estimator evidenced that trade openness, renewable energy, and fertility rate are responsible for decreasing environmental degradation. However, economic growth and nonrenewable energy add to worsen the environment. Similar inferences have been extracted by Khan et al. (2021) in Bangladesh. Shahbaz et al. (2018) explored facets influencing CO2 in G-7 countries on the data ranging from 1980 to 2014, employing the generalized moment method (GMM). They found that trade openness, capitalization, and financial development improve the environmental quality, whereas biomass energy consumption and financial development have a worse impact on the environment. Analogously, Park et al. (2018) examined the link between trade openness and CO2 in elected European countries on the data from 2001 to 2014. The results of pooled mean group (PMG) estimator evidenced that the trade coefficient lessens CO2 emission and increases environmental quality. These results are supported by Nathaniel and Bekun (2019) for Nigerian countries and Destek and Sinha (2020) for OECD countries (particularly Belgium, Canada, Germany, Greece, Japan, South Korea, Spain, Switzerland, and Turkey). Furthermore, Nawaz et al. (2021), similar to Adedoyin et al. (2020c), Omoke et al. (2021), Soylu et al. (2021), and Shen et al. (2021) found that trade openness has no significant effect on environmental quality, however, economic growth, fossil fuel energy damages, while renewable energy and gross capital formation improves the quality of the environment.

Human capital, gross fixed capital formation, population, and CO2 emissions

Human capital and gross capital formation may be the answer to long-term environmental sustainability. The literature has also established its relation to environmental damage, with varied findings. Nathaniel et al. (2021b) inspected the impact of human capital on carbon dioxide (CO2) emissions in Latin American and Caribbean countries (LACCs) from 1990 to 2017. They found that human capital mitigates the CO2, while globalization, urban population, and economic growth natural resources rent add to it. Similar results have been found by Sheraz et al. (2021), Paiho et al. (2021), Ahmed et al. (2020), Tran et al. (2019), and Zafar et al. (2019a). However, Nathaniel et al. (2021a) measured the link between human capital and the environment in BIRCS countries, employing the common correlated effects mean group (CCEMG) and the pool mean group (PMG). The result evidenced that human capital has a positive but not desirable level effect on the environment. Furthermore, Nawaz et al. (2021) found that gross fixed capital formation has a negative impact on carbon dioxide (CO2) emissions, suggesting that it enhances the environment quality of BRICS and OECD countries. On the contrary, Zafar et al. (2019b) in the USA found that human capital, natural resources, and foreign direct investment enhances ecological footprint, whereas economic growth and energy consumption mitigate it. Additionally, Adams et al. (2020) investigated the role of capital formation in OCED countries over the period of 1996 to 2017, and the panel pooled mean group autoregressive distributed lag model (PMG-ARDL) found that human capital does not contribute to environmental quality, as economic growth and nonrenewable energy consumption, whereas renewable energy enhances it. Doğan et al. (2020) revealed that in OECD countries, total population growth enhances CO2 emissions and deteriorating environmental quality. Finally, Danish et al. (2019) revealed that human capital does not have a significant influence on the ecological footprint in Pakistan.

Based on the contradictory findings in the literature reviewed above, more research is needed to clarify the complex interrelationships between economic growth, renewable energy consumption, fossil fuel consumption, human capital, fixed capital formation, population, and carbon dioxide emissions in the context of the world’s top 10 fossil fuel and renewable energy-using economies, using novel approaches and new environmental quality metrics. Therefore, this research study will not only bridge the research gap in the existing literature, but will provide direction to the government, policymakers, stakeholders, and environmentalists of the 10 highest fossil fuel energy-consuming and 10 highest renewable energy-consuming countries.

Method and data

Theoretical framework and model construction

The theoretical framework on which the model variables will be selected must be provided before the empirical modelling can begin. Moving on to the research’s theoretical foundation, the carbon dioxide (CO2) emissions measured in metric tons per capita is employed as the respondent variable as a proxy for the environmental quality in the model. This variable’s apriority expectation might be positive or negative. The deteriorated environmental quality would be evidenced by a positive change in CO2 emissions; however, enhanced environmental quality would be evidenced by negative variation in CO2 emissions. With a share of nearly 70%, CO2 is considered the most significant component of greenhouse gas emissions. This explains why CO2 emissions are chosen as an environmental quality gauge. Also, adopting CO2 emission as a measure of environmental quality is vibrant for a vivid and thorough study of this issue.

Furthermore, the most of countries in 10 highest fossil fuel energy-consuming and 10 highest renewable energy-consuming countries belongs to advanced economies known for rapid economic development, fueled by energy consuming from fossil fuel energy sources and renewable energy sources. Economic growth is measured in the gross domestic product growth rate (GDPGR) across the economies under study. Economic expansion has an influence on carbon emissions since economic activities demand energy as an input, resulting in more waste and pollution (He et al. 2021). This shift uplifts energy consumption and escalates the level of carbon emission (Ali et al. 2021; Aslam et al. 2021; Faisal et al. 2021b; Nguyen et al. 2021). As nations’ economies grow, people’s living standards rise, causing customer preferences and needs. This shift uplifts energy consumption and escalates the level of carbon emission. Hence, theories (such as EKC) have revealed the pattern of relationship that exists between economic growth (GDP) and the environment (He et al. 2021). Therefore, this justified our use of economic growth in our study as an explanatory variable.

Additionally, nations are moving towards a clean and renewable energy transition to develop the most sustainable and compatible substructure for energy. Modern technologies can be used to produce clean and sustainable energy with renewable sources, including hydropower, wind, and solar power. While most nations still use traditional fossil-fuel-based energy to satisfy the demand and supply of energy by nation, due to a lack of investment and develop renewable technologies. Hence, renewable energy and fossil fuel energy consumption are used as explanatory variables collaborating with Abbas et al. (2021) and Yuping et al. (2021). In addition to that, trade openness has emerged as one of the best tools to boost the economic growth of the nations, but there has been a link between trade and climate change, as suggested by He et al. (2021) and Ramzan et al. (2022). Therefore, trade openness has been included in the model as a determinant of carbon dioxide, in line with the work of Aslam et al. (2021), Khan et al. (2021), and Shen et al. (2021).

Gross fixed capital formation measures the amount of stock invested in the economy; thus, growth in investment leads to an increase in industrial output, resulting in a boom in the economy at the expense of increased carbon dioxide emissions and harming the clean environment. Therefore, gross fixed capital formation has been taken in the model in line with previous studies (Faisal et al. 2021a; Majeed et al. 2021; Nawaz et al. 2021; Nguyen et al. 2021). Furthermore, the population growth rate of the sample economies has an increasing trend, showing more demand for energy consumption. Hence, an increase in the population increase energy consumption resulting increase in the emission of CO2 level. Therefore, the population has been taken in in the model as studies in previous work (Doğan et al. 2020; Nathaniel and Adeleye 2021). Finally, life expectancy has been used as a proxy for the human capital in the model as it has a decreasing effect on emissions. Therefore, in line with a previous study by Sheraz et al. (2021) proxy of human capital has been used in the model.

Subsequent to the latest research studies by He et al. (2021), Asongu et al. (2020), Nathaniel et al. (2021b), and Adams et al. (2020) research model is developed as under:

$${CO}_{2, it}=\mathrm{f}\ \left(\ {GDPGR}_{it},{REC}_{it},{FFC}_{it},{TR}_{it},{GCF}_{it},{POGR}_{it},{LE}_{it}\right)$$
(1)
$${CO}_{2, it}={\beta}_0+{\beta}_1{GDPGR}_{it}+{\beta}_2{REC}_{it}+{\beta}_3{FFC}_{it}+{\beta}_4{TR}_{it}+{\beta}_5{GCF}_{it}+{\beta}_6{POGR}_{it}+{\beta}_7{LE}_{it}+{\mu}_{it}$$
(2)

where i denotes cross section (top 10 renewable energy-using economies), t denotes time period of study (1991–2020), GDPGRit denotes economic growth rate, RECit denotes renewable energy consumption, FFCit denotes fossil fuel energy consumption, TRit denotes trade openness, GCFit denotes gross fixed capital formation, POGRit denotes population growth rate, LEit denotes life expectancy (proxy of human capital), β0 denotes intercept, β1, 2, 3, 4, 5, 6, 7 denote coefficients, and μit denotes error term.

Data

This study employed panel data from 1991 to 2020 for the top 10 fossil fuel energy-using economies “China, the USA, India, Russia, Japan, Iran, Saudi Arabia, South Korea, Germany, and Canada”) and the top 10 renewable energy-using economies (“Germany, UK, Sweden, Spain, Italy, Brazil, Japan, Turkey, Australia, and USA”). This study includes carbon dioxide (CO2) emission as a respond variable, while economic growth (GDPGR), renewable energy consumption (REC), fossil fuel energy consumption (FFC), trade openness (TR), gross capital formation (GCF), population growth rate (POGR), and life expectancy (LE-proxy of human capital) are included as explanatory variables. Table 1 shows additional information of description, measurement, and sources of data.

Table 1 Variable’s description

Estimation procedures

CSD test

This study used a cross-sectional dependency (CSD) test to decide the right econometric approach to utilize. The CSD test results aid in deciding whether to use the first- or second-generation panel data analytical techniques. The estimations of this study will be inconsistent, unreliable, skewed, biased, and useless when CSD is not performed (Bekun et al. 2022; Dong et al. 2018; He et al. 2021; Nathaniel et al. 2020). Therefore, to ensure that the aforementioned issues do not arise, this study utilized Pesaran (2007), (2015) scaled LM. For robustness purposes, Breusch-Pagan’s LM test developed in 1980 is utilized by authors. Because of the greater figure of cross sections (N) as compared to time periods (T), as depicted in this study dataset, more attention was paid to the Pesaran (2007) scaled CD test and Breusch and Pagan (1980) LM. Furthermore, Eq. 3 presents CSD test.

$$CD=\left(\frac{TN{\left(N-1\right)}^{\frac{1}{2}-\delta }}{2}\right)$$
(3)

However, \(\delta =\left(\frac{2}{N\left(N-1\right)}\right){\sum}_{i=1}^{N-1}.{\sum}_{j=i+1}^N\delta ij\), where δij denotes the CS correlation coefficient estimates of residuals obtained from ADF regression. Additionally, T denotes the cross sections, and N denotes time.

Panel stationarity technique

The estimated proof of CD reveals inefficiencies in the first-generation stationarity approach (Im et al. 2003). Consequently, to tackle the problem of inefficiencies in the estimation, this study utilized the second-generation stationary test (CIPS-2007). Equation 4 shows Pesaran (2007) stationary test (CIPS).

$${\Delta \mathrm{Y}}_{it}=\Delta {\varnothing}_{it}+{\upbeta}_i{\mathrm{X}}_{it}+{\gamma}_{iT}+{\sum}_{j=1}^n{\varphi}_{ij}{\Delta X}_{i,t-j}+{\mu}_{it}$$
(4)

where ∆∅it denotes intercept, Xit denotes factors analysis, ∆ denotes variance operator, T denotes time period, and μit denotes white noise term. A second-generation test is carried out in the vicinity of the first differences stationary variables to evaluate the long-run impacts of parameters under discussion.

Panel cointegration approach

The results are connected to the Westerlund (2007) experiment, which was used to prove that the parameters were cointegrated. The estimation’s error rectification technique (ECM) is shown in Eq. 5.

$$\Delta {y}_{it}={\gamma}_i{d}_t+{\theta}_i{y}_{it}+{\sum}_{j=1}^{pi}{\varnothing}_{ij}\Delta {y}_{it-1}+{\sum}_{j=0}^{pi}{\pi}_{ij}\Delta {x}_{it-j}+{\varepsilon}_{it}$$
(5)

where γi = (γi1,  γi2), signifies vectors of parameters, dt = (1, t) signifies deterministic mechanism and ∅ signifies error correction parameter. To detect the existence of cointegration, four tests were built on the OLS approach of ∅i in Eq. (5). The equations of these four tests are as under:

$${\mathrm{G}}_{\tau }=\frac{1}{\mathrm{N}}\ {\sum}_{i=1}^N.=\frac{\hat{\mkern6mu} \propto i}{SE\left(\hat{\mkern6mu} \propto i\right)}$$
(6)
$${\mathrm{G}}_{\alpha }=\frac{1}{N}\ {\sum}_{i=1}^N.\kern0.5em \frac{\mathrm{T}\hat{\mkern6mu} \propto i}{\hat{\mkern6mu} \propto i(1)}$$
(7)
$${\mathrm{P}}_{\tau }=\frac{\hat{\mkern6mu} \propto i}{SE\left(\propto i\right)}\kern0.5em$$
(8)
$${\mathrm{P}}_{\alpha }=\mathrm{T}1\upalpha \hat{\mkern6mu}$$
(9)

where the group statistics are Ga and Gt, and the panel statistics are Pa and Pt. Cointegration is placed against the null hypothesis of no cointegration.

CS-ARDL approach

The CS-ARDL approach developed by Chudik et al. (2016) is employed as suggested by He et al. (2021) to investigate the long and short-run nexus among carbon dioxide, economic growth, renewable energy, fossil fuel energy, gross capital formation, human capital, trade openness, and population. This method address the issues of endogeneity, unobserved shared variables, cross-sectional dependency, heterogeneous slop coefficients, and non-stationarity. The CS-ARDL approach is as follows:

$${\mathrm{Y}}_{it}=\sum_{i=1}^{qy}{\partial}_{it}{\mathrm{Y}}_{i,t}+\sum_{i=0}^{qz}{\sigma}_{i1}^{\prime }{\mathrm{Z}}_{i,t-1}+\sum_{i=0}^{qT}{\theta}_{i1}^{\prime }{\mathrm{Z}}_{i,t-1}+{\in}_{it}$$
(10)

where the average cross-sections Xt − 1 = (Yt − 1, Zt − 1)l, are denoted by \({\bar {\mathbf{Y}}}_t\ \mathrm{and}\ {\overline{Z}}_t\). Furthermore, Xt − 1 denotes the averages of explanatory and explained variables. The CS-ARDL produces results that are strong against heterogeneity, misspecification bias, endogeneity, mixed integration, and cross-sectional dependencies (He et al. 2021).

Empirical results

Analysis of findings is presented in this section. The order of the test results is ascending. Table 2 depicts the findings of the cross-sectional dependency test to avoid the bias cointegration, spurious regression, and policy guidance by extension. The null hypothesis of no CD for our study model is rejected at a 1% significant level, revealing the existence of cross dependency in the dataset. Therefore, we advanced with second-generation estimator. Table 3 presents the results of the panel unit root test with cross-sectional dependence. In Table 4, the Westerlund cointegration test results are presented. The findings show that there is cointegration (long-run association) between the studied variables; hence the null hypothesis of no cointegration is rejected.

Table 2 Cross-sectional dependence test results
Table 3 Panel unit root test with cross-sectional dependence results
Table 4 Westerland test for cointegration

Results for the short and long run

The next step is to determine the coefficient values of independent variables after validating Cointegration among the panel data. The CS-ARDL is used in this study for the purpose. The CS-ARDL technique is effective in producing reliable findings because it incorporates the CD among the panel data when delivering the coefficient values. The experimental outcomes of CS-ARDL-ECT present the speed of adjustment towards long-term equilibrium. ECT-1 value for model I is − 0.86 and − 0.93 for model II, indicating 86% and 93% rate of convergence for both models, respectively.

Table 5 shows the results of CS-ARDL for model I and model II in the short and long run. In both models (model I and model II), the nexus between economic growth rate and carbon dioxide emissions is confirmed to be positive and significant in the short run only, while on the contrary, GDPGR exerts an insignificant positive effect on CO2 in the long run. For model I, increase in GDPGR per capita by 1% boosts CO2 emissions by 0.03%; however, for model II, a 1% increase in GDP per capita upsurges CO2 emissions by 0.04% in the short run. Hence, results show that the prediction of the environmental Kuznets curve (EKC) is constant in the short run (Adams et al. 2020). Furthermore, renewable energy has a negatively significant impact on CO2 emissions in the short and long run. Incisively, in model I, a 1% increase in REC decreases CO2 emissions levels by − 0.25% and 0.15% in the short and long run, respectively. From model II, an increase in 1% of REC reduces CO2 levels by − 0.26% and − 0.25% in the short and long run, respectively. This indicates that environmental quality increases with the increased use of renewable energy.

Table 5 CS-ARDL test results

The findings reveal that fossil fuel energy triggers the CO2 emissions for the models I and II in the short and long run. The results indicate that a 1% upsurge in FFC impedes the CO2 emissions level by 0.10% and 0.09% in the short and long run, respectively. However, for model II, a 1% rise in fossil fuel consumption raises CO2 emissions levels by 0.10% and 0.03% in the short and long run, respectively. The results of the study show that trade openness has a significant and positive nexus with CO2 in the short run for both models; however, it has a significant positive association with CO2 in model I, contrary to model II having a positively insignificant association in the long run. The findings reveal that a 1% increase in TR increases CO2 by 0.04% and 0.01% in the short run for models I and II, respectively. Also, a 1% rise in TR increases 0.02% the CO2 emissions level by 0.02% in the long run for model A, while for model B, it has a positive and insignificant association with CO2. The result reveals that gross capital formation deteriorates the environmental quality in the short run in the model I only. A 1% increase in GCF increases 0.01% of CO2 emissions level. It is estimated from results that renewable energy-using economies might be using capital for construction and manufacturing of machinery, having a potential negative impact on the environment. However, in the long run, models I and II have a positive and insignificant association with CO2.

Finally, our outcomes of the study reveal that population growth has a potentially positive and significant effect, and human capital has a significantly negative effect on CO2 emissions in the short run but a positive and insignificant effect in the long run for models I and II. According to the results 1% increase in POGR increases 0.13% and 0.10% CO2 emissions level in the short run for both models. However, according to the results 1% increase in HC reduces CO2 emission levels by − 0.13% and − 0.10% in the short run for both models. The efficacy of human capital in renewable energy-using countries is more than in fossil fuel energy-using economies, as could be seen through coefficients of HC for both models.

Discussion

Results of this study reveal that economic growth has a positive and significant nexus in the short run while a positive and insignificant association with CO2 emissions in the long run for both models. The implication of the results is that the boom of economic activities in the short run imposes a greater degree of environmental degradation on both groups of economies. However, the results contrast with Adams et al. (2020), Asongu et al. (2020), Adebayo (2022b), and Ramzan et al. (2022), who found a positive effect of economic growth on CO2 in the long run. Adebayo (2022b) found the positive association of economic growth in the long run while negative and significant association in short run in the context of Canada, which contrast our findings. The lack of unanimity in the results could be attributed to the difference in the scope of the study. Most importantly, the coefficient of GDPGR for fossil fuel economies is greater than for renewable energy-using economies. This implies that policymakers of particularly fossil fuel energy-using economies should address the problem of environmental degradation in the short run by formulating policies that promote the efficient use of CO2 materials during the production process.

Furthermore, renewable energy has a negatively significant impact on CO2 emissions in the short and long run. This indicates that environmental quality increases with the increased use of renewable energy in the top 10 renewable energy-using economies (model I) and top 10 fossil fuel energy-using economies (model II). Interestingly, findings indicate that coefficients of REC for fossil fuel energy-using economies are greater than renewable energy-using economies suggesting that a little addition of renewable energy sources reduces the negative repercussions of human activities and is considered a helpful tool to attain sustainable long-term economic growth with environmental sustainability. Moreover, renewable energy sources such as wind, photovoltaic, and biofuel are the pathways to clear the environment and, in particular, to attain the SDG-7 goal by 2030. The results are in line with He et al. (2021), which relied on CS-ARDL and CCEMG econometric estimators; Ramzan et al. (2022) for Pakistan, which utilized nonparametric causality in quantile approach for the period of 1960Q1 to 2019Q4; Yuping et al. (2021) for Argentina; Dingru et al. (2021) for BRICS nations; Adebayo (2022a) for Spain; Bekun et al. (2022) for sub-Saharan Africa; Bekun et al. (2022) for India; and Adebayo (2022b) for Canada.

The findings reveal that fossil fuel energy triggers CO2 emissions for models I and II in the short and long run. The results are in line with Ali et al. (2021) and Ramzan et al. (2022) in the context of Pakistan; Yuping et al. (2021) found the same results, utilizing ARDL econometric technique on data in G7 countries; Yuping et al. (2021) in Argentina; Somoye et al. (2022b) in Nigeria; Adebayo (2022b) in Canada; and Bekun et al. (2022) in India. Furthermore, the reason for this is because for industrial and manufacturing, transportation, and home activities, the conventional source of fossil energy is lavishly used for energy generation, accelerating the rate of environmental deterioration in both groups of economies. However, in these economies, the use of fossil fuels has greatly increased air pollution. Fossil fuel energy usage intensively depletes the environmental quality, which in turn increases global greenhouse gas emissions. As a result, reducing fossil dependency is once again deemed necessary for improving the overall quality of the environment in both groups of economies. Replacing the unfriendly fossil fuel energy use with friendly renewable energy use will assist them in reducing CO2 emissions and advance the green environment in the long run.

The results of the study show that trade openness has a significant and positive nexus with CO2 in the short run for both models; however, it has a significant positive association with CO2 in model I, contrary to model II having a positively insignificant association in the long run. The estimations suggest that high demand for goods to trade between countries leaves higher pressure on production activities and energy consumption, resulting in an increased level of economic growth at the cost of environmental quality in the short and long run for renewable economies and in only the short run in fossil fuel economies. The results affirm the pollution haven hypothesis (PHH) in renewable energy-using economies in the short and long term, while in the short term in fossil fuel energy-using economies (Copeland and Taylor 1994). According to this, trade openness makes host economies with lax environmental standards dirtier. Results are in line with Talukdar and Meisner (2001), Xing and Kolstad (2002), Ramzan et al. (2022), Aslam et al. (2021), Somoye et al. (2022a), Idris et al. (2022) and Munir and Ameer (2018), finding that growing free trade pressure on natural resources is to blame for these environmental consequences. Moreover, we extracted that the scale impact entails trade liberalization, which boosts exports and GDP. But depletes resources and causes environmental degradation in the short run for both groups of economies. Hence, through trade liberalization, the composition impact alters an economy's industrial structure, while the technique effect encourages nations to adopt more efficient and cleaner technologies. As a result, comparative developments in ecologically clean sectors and increases in energy efficiency might justify the net effect of a reduction in CO2 emissions (Balsalobre et al. 2015; Lorente and Alvarez-Herranz 2016; Shahbaz et al. 2013).

The result discloses that gross capital formation deteriorates the environmental quality in the short run in a model I only. However, in the long run, models I and II have a positive and insignificant association with CO2. Therefore, it is suggested that renewable energy-using economies require more investment funds in the renewable energy sector and energy-efficient technologies to capture carbon in the short run. The results are in line with Mujtaba et al. (2022), who investigated that environmental quality is dampened by the capital formation in the OECD region (Faisal et al. 2021a) and found similar results to Ottman et al. (2019) and Auclair et al. (2020). Though, Nathaniel and Adeleye (2021) and Chen et al. (2020) found a positive and insignificant association between capital formation and CO2 in selected African countries and OECD countries, respectively.

The population growth has a potentially positive and significant effect on CO2 emissions in the short run but a positive and insignificant effect in the long run for models I and II. The results suggest that the population growth rate upsurge the level of energy consumption demanded, leading to the environment quality deterioration likewise, the demand for water, housing, transportation, food, commercial building, electric appliances, public utilities, etc. increase, leading to increased pollution and drives climate change. The results are in line with Saidi and Hammami (2015) for 58 countries, Waheed et al. (2019) for Chinese provinces, and Doğan et al. (2020) for 28 OECD countries, who investigated that increase in population leads to a rise in the level of carbon dioxide emissions resulting environmental degradation.

Lastly, the human capital has a significantly negative effect on CO2 emissions in the short run but a positive and insignificant effect in the long run for models I and II. The efficacy of human capital in renewable energy-using countries is more than in fossil fuel energy-using economies, as could be seen through coefficients of HC for both models. Therefore, we suggest that fossil fuel energy-using economies to improve human capital development strategy so as to generate more meaningful outcomes. Furthermore, they must improve the human capital to transit energy use from fossil to renewable energy (Yang et al. 2017) and enhance the energy efficiency, adopt new technologies free from pollution, abide by rules related to the environment, and improve energy efficiency by human capital. Results are in line with Nathaniel et al. (2021a), who found that in BRICS, human capital efficiency is at a lower scale to mitigate environmental degradation and requires a desirable level to reduce it. Sheraz et al. (2021) and Nathaniel et al. (2021b) found negative and significant results in the context of G20 countries and Latin American and Caribbean countries, respectively.

Concluding remark and policy implications

This study investigates the nexus between CO2 emission, economic growth, fossil fuel consumption, renewable energy consumption, gross fixed capital formation, population growth rate, life expectancy, and trade openness in the top 10 highest renewable energy-using economies and top 10 highest fossil fuel energy-using economies between 1991 and 2020. This study utilized Pesaran (2007), (2015), and Breusch and Pagan LM (1980) tests to decide the right econometric approach, Pesaran (CIPS-2007) to examine the stationarity of data, and Westerland test to evaluate cointegration among variables. Moreover, we used cross-sectional autoregressive distributive lag (CS-ARDL) econometric approach to estimate the short- and long-run nexus.

The results reveal that all variables (GDPGR, FFC, TR, GCF) are positive and significant for models I and II, except GCF, which is positive and insignificant in model II in the short run. However, REC and HC are negative and significant in both models in the short run. Moreover, FFC contributes to CO2 emissions in the long run in both models, whereas TR contributes to CO2 emission in the model I only. In addition to that, only REC significantly negatively affects the CO2 emissions levels and play vital role in mitigating the harmful effects of CO2 emissions on the environment in the top 10 renewable energy-using economies and top 10 fossil fuel-using economies in the long run. The findings reveal necessary information for policy directions for the top 10 renewable and top 10 fossil fuel energy-using economies. (1) Both groups of economies must ponder over energy efficiency policies in each sector of the economy to attain sustainable economic development goals. As a need of a green economy is a major millstone while facing the challenges of environmental degradation, government and policymakers of both groups of economies must develop and put several plans into action, such as a Green Finance Plan (GFP), a National Renewable Energy Policy Plan (NREPP) aligning them to green economy to overcome climate change with sustainable development. (2) Both group of economies must boost their momentum in order to increase the proportion of renewable energy to total energy use, particularly fossil fuel energy, to meet SDG (7) by 2030. (3) Human capital development is vital for long-term prosperity and environmental protection. In both groups of economies, it is vital to develop a skilled workforce and educate and aware them to transit fossil fuel energy businesses into environmentally friendly businesses. However, it can be only possible by launching green awareness campaigns regarding environmental degradation and climate change mitigation population hazards. (4) Governments of both groups of economies must promote green and clean environmental policies and impose strict laws pertaining to a green environment. There are some limitations to this study. The sample span is just 30 years. Due to the lack of data on the nature of the data set, some antecedents of CO2 emissions were not considered and analyzed in this research, such as green finance or green investment, research and development (R&D), and foreign assets. For the future endeavor (gap), it would be worth noting to investigate if green investment and research and development (R&D) could help to mitigate environmental degradation caused by CO2.