Introduction

The world has suffered severe environmental deterioration over the past two decades. Undeniably, the impact of the ecological distortions and environmental degradation on the earth’s geographical space is alarming, causing environmental stakeholders and environmentalists to be highly concerned. From being just a bunch of environmental issues, these problems have resulted in environmental disasters, such as extreme weather events and rising sea levels. Due to that, countries are under pressure, striving to address environmental crises and simultaneously sustain economic growth [49]. Fundamentally, it is believed that the destruction of many countries' ecosystems is the consequence of human actions, including rapid industrialization, growing population, expansion in economic activities, urbanization and widespread consumption of fossil fuels [17, 20, 22, 48, 67]. Undoubtedly, one of the major contributors to climate change and environmental degradation is carbon dioxide (CO2) emissions [12, 20, 22].

The concerns of environmental stakeholders have spurred researchers to examine the factors affecting environmental degradation and offer solutions to environmental problems [1, 5, 21, 23, 24, 32, 50, 60, 68]. Many of these research attempts were conducted within the Environmental Kuznets Curve (EKC) hypothesis, pioneered by Grossman and Krueger [30]. The EKC linked environmental degradation to economic growth. It hypothesizes that the tendency of environmental degradation to rise during the early stages of economic growth is high and that after a certain threshold, economic growth and environmental degradation decline [26, 61, 64].

As it becomes increasingly clear the extent to which human activities have affected the environment, attention has begun to turn to education and the need to tap its potential. Education could directly affect the environment by creating awareness and encouraging individuals to protect their environment. For instance, educated individuals are likely to be more concerned about the environment and support environmental policy decisions. Education could also affect the environment by moderating energy consumption and encouraging people to lessen their environmental impact through more efficient energy use. Noticeably, education is a primary channel of knowledge, values, and skills acquisition, changing humans’ environmental behaviors and attitudes to address climate change and environmental degradation challenges. Indeed, education provides an endless entryway to information and contributes to a better understanding of complex environmental messages. Correspondingly, it is identified that education raises environmental awareness, fosters an in-depth sense of responsibility, steers people away from environmentally harmful conduct, motivates individuals to use energy resources more efficiently and supports environmental policies [13, 16, 31, 46, 64, 66, 77]. However, education could generate adverse effects on the environment and pro-environmental behavior, such as increasing the consumption of non-renewable resources and access to polluting technologies, which leads to negative repercussions on the environment (see [6, 25, 36, 65]).

Figure 1 shows the possible transmission channels among the variables. Education shows two opposing effects. First, education promotes environmental awareness, which in turn encourages the pro-environmental behaviour of the people. The pro-environmental behaviour of the people leads to support for environmental policy and efficient use of energy. Additionally, educated people are expected to earn more income, putting them in better positions to support environmental policy. However, the second opposing effect of education encourages people to consume more non-renewable energy and gives them more access to polluting technologies, increasing environmental degradation.

Fig. 1
figure 1

Possible transmission channels among the variables

The flow of Fig. 1 from the left-hand side shows that education leads to environmental awareness, pro-environmental behavior (which also leads to support for environmental policy), and efficient energy consumption. All of which lead to a reduction in environmental degradation (minus arrow). From the middle: Educated individuals earn improved income, enabling them to support environmental policy, which reduces environmental degradation (minus arrow). From the right-hand side: Education can make individuals increase their consumption of non-renewable energy and access to polluting technologies, increasing environmental degradation. The two arrows from the bottom show that when the EKC is confirmed, economic growth first increases environmental degradation, gets to a turning point and starts reducing it (meaning that economic growth is a solution to environmental degradation). In contrast, when the EKC is not valid, economic growth first reduces environmental degradation at an early stage, gets to a point, and starts increasing it (meaning that economic growth is not a solution to environmental degradation).

Studies have considered the direct impact of education and how it affects the environment. However, most of these studies do not consider the moderating role of education. The moderating role of education has essential policy outcomes as it provides invaluable insights to policymakers. The moderating role of education is necessary to examine how education could affect the environment through its interaction with energy consumption, thereby enabling informed policy formulation and implementation that can be better attuned to yield maximum impact. Only recently, the study of Katircioglu et al. [38] empirically considered the moderating role of education on energy consumption as one of the potential environmental degradation determinants. However, the study only focused on Cyprus. Therefore, the present paper examines the direct and moderating effects of education in growth-energy-environment relationships for four income groups. Classifying the countries into income groups is necessary since the countries that make up the global economy are diverse, and one major indicator to classify this diversity is income. Also, people’s attitudes toward the environment may vary between different income groups [18, 29], hence the need to verify whether empirical findings differ among the groups [21].

This present study differs from earlier ones and adds to the existing knowledge because it would be the first to examine the moderating role of education in heterogeneous income groups as far as is known. This study categorizes the study countries into different income groups based on the World Bank’s latest classifications. The study explains the differences in environmental quality among the income groups and gives specific recommendations for effective policy formulation. Additionally, this study calculates the marginal effects for all the income groups and examines causal relationships by employing a test that accounts for cross-sectional dependence and heterogeneity, which Katircioglu et al. [38] did not consider. Thus, it provides evidence of education’s direct and moderating effects on environmental degradation based on income groups. The important findings in this study give a new viewpoint on the relationships between economic growth, energy consumption and environmental degradation. More relevantly, it offers insights and updated policy support for effective policy formulation to improve environmental quality.

The remainder of this paper is organized in the following manner: “Literature review” section assesses related literature, “Methodology and data” section summarizes the methodologies, and “Empirical results & discussion” section analyses the data and deliberates the key findings. The last section concludes and makes policy recommendations.

Literature review

The alarming pattern of environmental problems is giving concerns to environmental stakeholders globally. Researchers and policymakers have endeavored to understand and identify the primary causes of these problems and forecast their future direction. Accordingly, such efforts have prompted a rise in studies that concentrate on discovering environmental degradation determinants. Most of the studies focused on the environmental impacts of growth and energy consumption. However, few other studies considered education as one of the potential environmental determinants.

In detail, many studies have examined the impacts education has on the environment in the past and found that education promotes pro-environmental conduct and behavior in various circumstances. For instance, it is noted that educated individuals are more inclined to reduce, reuse, and recycle [27, 42, 62, 76]. Other studies have found that people with education are more likely to make better consumption choices, such as buying eco-labeled and energy-efficient items, as well as exhibiting energy-saving behaviors [10, 43, 69]. At the same time, existing literature has demonstrated that individuals with solid educational backgrounds have a stronger possibility of adopting energy-efficient behaviors [59].

Furthermore, there is empirical evidence that pro-environmental attitudes are highly associated with one’s educational experience. For instance, it is uncovered that better-educated people are steadily keen to play a part in supporting green electricity and sacrificing financial well-being to enrich the environmental quality and report environmental concerns [15, 72]. Equally important, many findings described a positive relationship between education and one’s willingness to support emissions reduction policy, renewable energy and environmental protection through higher payment of taxes [9, 40, 78].

However, some studies indicated that education levels generate adverse effects on the environment and pro-environmental behavior, such as increasing the consumption of non-renewable resources and access to polluting technologies, which leads to adverse repercussions on the environment [25, 36, 65]. At the same time, other studies indicated that a higher percentage of people in high-income countries prefer general environmental protection to economic growth and tend to prioritize environmental goals than those in low-income countries [18, 29]. More education can improve environmental awareness and regulations concerning natural resources usage and energy consumption, thereby improving environmental quality. Inglesi-Lotz and Morales [35] explains how education could affect energy consumption. Education increases the awareness level in any economy. This increased awareness could enable energy consumers to make informed and better decisions concerning energy consumption, which, in turn, may lead to a reduction in energy consumption.

More studies have examined the roles of education on environmental degradation in recent times. Chankrajang and Muttarak [13] revealed that acquiring knowledge relevant to environment-friendly behavior results in pro-environmental actions, which in return, facilitates reducing CO2 and protecting nature. Furthermore, education is essential to understand climate change globally and its associated adverse outcomes. Similarly, Balaguer and Cantavella [6] employed higher education data within the EKC framework for Australia and found education to improve environmental quality. Chankrajang and Muttarak’s findings on the positive influences of education on environmental quality and pro-environmental behavior are also widely restated in other studies. For example, educated individuals are more mindful and conscious of the external impacts of their behaviors and, thus, more concerned with social welfare in Europe [47].

Similarly, education was found to improve the environment in Australia [6], Turkey [26], Organization for Economic Co-operation and Development (OECD) [73, 74], and the Asia–Pacific Economic Cooperation countries [75]. On the other hand, [73, 74] found that education increases environmental degradation to a certain level, improving environmental quality. In the same vein, Mahalik et al. [44] revealed that primary education degrades the environment in Brazil, India, China, and South Africa, while secondary education improves it.

In considering the indirect role of education, Katircioglu et al. [38] examined the direct and moderating effects of higher education on the environment through energy consumption for Cyprus. The results showed that education’s direct effect and its moderating role on energy consumption negatively affect the environment. Similarly, Subramaniam et al. [63] investigated the environmental impacts of education and poverty in 22 developing nations. The study observed that the negative consequences of poverty on the environment could be mitigated if education attains an exceptionally high threshold. The study also found that improvement in education minimizes environmental destruction by the poor.

Several studies also utilized education as a proxy for human capital but reported mixed results. For example, human capital was found to mitigate environmental degradation [4, 39, 45, 52] without decreasing economic growth [8]. However, this position was debunked by studies such as Zhang et al. [77] and Ahmed et al. [3], which revealed that human capital degrades the environment. At the same time, Danish et al. [14] reported a non-existent effect of human capital in improving environmental quality. Conversely, Tang et al. [64] analyzed both direct and indirect roles of human capital in 114 nations and uncovered that human capital substantially influences renewable energy consumption.

Analyzing the literature on education shows that most studies established its direct relationship with the environment. However, the conclusions of these studies on the effect of education on pro-environmental attitudes and behaviors are mixed. For example, most literature indicates that education mitigates environmental degradation and enhances pro-environmental attitudes and behaviors. Others found that education is detrimental to environmental quality. According to them, educated people are more supportive of environmental policy measures. Few found no link between education and the environment. Katircioglu et al. [38] appears to be the only notable study that assessed the moderating role of education through its interaction with energy consumption, specifically for Cyprus.

Tang et al. [64] investigated the effects of the interaction of human capital (measured as average years of schooling) with renewable energy consumption for 114 countries but without considering their income group classifications. Such inclusion of countries with varying income levels in the same panel may result in inaccurate estimation and could be inadequate for policymaking since the countries’ income levels may have important environmental implications. Also, the study only examined renewable energy. Examining only renewable energy for a study of this nature may underestimate the impacts of energy consumption on the environment because most economies rely on fossil fuels.

In addition, the link between education and environmental degradation may be weak when measured by years of schooling. Human capital proxied by average years of schooling provides little insight. It does not, unlike gross enrolment, reflect the capacity of each level of the education system. The disparity between gross enrollment and average years of schooling is pronounced in many countries. For example, according to data from the World Bank, most countries in our analysis have similar and constant years of education. However, the discrepancies in gross enrolment of these countries are substantial and vary from year to year. As a result, gross school enrollment is a better measurement, and it is used in this study.

This present study addresses these issues by examining the effects of education’s direct and moderating roles with total energy consumption on environmental degradation in different income groups.

Methodology and data

Model specification

This paper employs the EKC hypothesis to examine the impacts of economic growth and energy consumption on environmental degradation while controlling for the education variable. Given the aim of this study and following previous studies [20, 22, 38], the following model is specified for the direct impact of education:

$$CO2_{it} = \beta_{0} + \beta_{1} GDP_{it} + \beta_{2} GDP_{it}^{2} + \beta_{3} ENG_{it} + \beta_{4} EDU_{it} + \mu_{it}$$
(1)

where CO2 is the ln of carbon emissions (in metric tons), as a proxy for environmental degradation, ENG is the ln of energy consumption (in a million tonnes of oil equivalent) per capita, GDP is the ln of real Gross Domestic Product per capita (2010 constant prices) as a proxy for economic growth, GDP2 is GDP squared, EDU is the ln of education measured as gross primary school enrollment and \(\mu\) it the error term. All variables are in natural logs (ln). We use primary education enrollment to measure education. This choice is because primary education is the first step in making an individual’s character. It ensures the broad-based learning of an individual, including developing social, cultural, emotional, cognitive, and physical skills [70]. As one of our interests is to ascertain the moderating role of education on environmental degradation, we extend Eq. (1) by including the interaction variable of education and energy consumption [38, 51] as follows:

$$CO2_{it} = \beta_{0} + \beta_{1} GDP_{it} + \beta_{2} GDP_{it}^{2} + \beta_{3} ENG_{it} + \beta_{4} EDU_{it} + \beta_{5} \left( {ENG*EDU} \right)_{it} + \mu_{it}$$
(2)

where ENG*EDU is the interactive term of the logs between energy consumption and education.

Theoretically, β1 is expected to be positive, while β2 is negative to confirm the EKC hypothesis (inverted U-shaped curve). On the contrary, if β1 is negative while β2 is positive, then the EKC hypothesis is not validated (U-shaped curve). A priori, we expect economic growth and energy consumption to increase environmental degradation, whereas education and its moderating variable are expected to mitigate it. From Eq. (2), we can calculate the marginal effects of education on environmental degradation by partial derivation:

$$\frac{{\partial CO2_{it} }}{{\partial ENG_{it} }} = \beta_{3} + \beta_{5} EDU_{it}$$
(3)

Data

This study employs annual unbalanced data for 92 heterogeneous countries from 1985 to 2018. The availability of data determines the period and countries included in the study. Data on carbon emissions and energy consumption (converted into per capita form) are obtained from Energy Information Administration (2020) database, while the remaining series are from the World Development Indicators (2021). We classify the countries into four income groups based on the World Bank classifications. These are high-income countries (HIC hereafter), upper-middle-income countries (UMIC hereafter), lower-middle-income countries (LMIC hereafter), and low-income countries (LIC hereafter). We examine these income groups to understand the determinants of environmental degradation from the global perspective and compare these groups to understand better how to tackle environmental degradation. The included countries are listed in Table 11 (see Appendix).

Estimation strategy

This study begins with a descriptive analysis, followed by correlation analysis, panel unit root test, cointegration and cross-sectional dependence (CD) testFootnote 1 [49]. The unit root is examined using both 1st- and 2nd-generation tests. The tests are IPS test [34], Pesaran test [55, 56], ADF-Fisher test [28] and LLC test [41]. To test the CD, we employ the Breusch-Pagan LM test [11], Bias-corrected scaled LM test [7], Pesaran scaled LM test and Pesaran CD test [55]. We employ the Fully Modified Ordinary Least Square (FMOLS) [53, 54] and the Dynamic Ordinary Least Square (DOLS) [37] to assess the long-run association among the variables. The FMOLS and DOLS are very efficient in estimating cointegrating panels. Next, we use the Pedroni and Kao cointegration tests to ascertain the cointegration among the variables.

Also, we employ the Pooled Mean Group (PMG) [57] to complement FMOLS and DOLS estimations and check the estimation’s robustness. PMG is preferred because it gives short-run and long-run estimates and provides additional information concerning the relationship of the estimated indicators. Interestingly, the PMG estimation uses the cointegration form of the ordinary ARDL model, as shown by Pesaran et al. [57]. Furthermore, we employ the Common Correlated Mean Group (CCEMG) estimator. Next, we compute the marginal effects of energy consumption on environmental degradation at different levels of education. Finally, we examine the causal links among variables using the Dumitrescu and Hurlin [19] panel causality test. The test accounts for both CD and heterogeneity.

Empirical results & discussion

Empirical results

Table 1 details the descriptive statistics and correlation coefficient matrix of the variables. The standard deviations of most of the variables show huge variations, indicating wide dispersion from their means, except for CO2 and energy consumption variables which are not too dispersed from their means in the low-income group. The pairwise correlation coefficients shown in the lower panel of the Table reveal that most variables are positive, except the education variable, which is negatively correlated with economic growth and energy in the HIC, CO2 and energy in the UMIC. In contrast, economic growth is negatively correlated with CO2 in the LIC.

Table 1 Descriptive statistics and correlation analysis results

The panel unit root findings are presented in Table 2. The results suggest that the panel has unit roots and the variables are I (1) in all the income groups. While the Pesaran and LLC tests indicate that some variables are stationary at the level, other tests reveal that they have unit roots. As a result, we conclude that they are nonstationary at the level, which permits us to utilize the FMOLS and DOLS because the methods were designed to estimate co-integrating relationships with a mix of I (1).

Table 2 Panel stationarity tests results

Next, we utilize the Pedroni cointegration test in Table 3. The test proposes seven test statistics. A good number of these test statistics confirm the cointegration among the variables in each income group. For robustness check, we use the Kao panel cointegration test. The test also confirms cointegration in all the income groups. Therefore, we conclude that cointegration exists among the variables of the study. This result implies that the variables move together in the long-run, and their long-run relationships can be estimated using FMOLS and DOLS to ascertain their long-run relationships. Table 4 reports the CD test results. The results reject the null hypothesis of no cross-sectional independence.

Table 3 Results of Cointegration Tests
Table 4 Results of cross-sectional dependence tests results

Table 5 presents the FMOLS results. We estimate two models. The first model assesses the direct impacts of economic growth, energy consumption and education, whereas the second model includes the interaction term of energy and education.

Table 5 FMOLS Results

Discussion

The findings in Table 5 show that the estimated coefficients for economic growth are positive in the FMOLS estimation. Economic growth’s detrimental impact on emissions is that many countries have experienced tremendous development in recent decades, which has increased the demand for energy. Notably, the excessive reliance on fossil fuels in the primary sector and the transfer to the secondary industry add fuel to the fire. Furthermore, the growth of infrastructure development and the increase in the consumption of goods and services contribute to environmental degradation. However, the squared terms of economic growth coefficients are negative and statistically significant for HIC and UMIC. These results confirm an inverted U-shape link between economic growth and environmental degradation, validating the EKC hypothesis. The results indicate that the environments in the HIC and UMIC are degraded at the initial stages of economic growth. Nevertheless, as the economy expands, environmental quality begins to improve. This finding demonstrates the importance of economic growth in reducing CO2 emissions and improving environmental quality in HIC and UMIC. This finding is in line with earlier studies (e.g., [1, 64, 73, 74, 77]).

In comparison, the economic growth coefficients for LMIC and LIC are negative, whereas the coefficients of their squared terms are positive and statistically significant. These results suggest that the EKC hypothesis does not hold for these income groups. This finding supports the existence of a U-shaped association between economic growth and environmental degradation in LMIC and LIC. For this reason and contrary to the EKC hypothesis, economic growth is not a panacea for LMIC and LIC environmental concerns. This outcome aligns with previous studies (e.g., [2, 52]). The differences in the effects of economic growth on the environment between HIC/UMIC and LMIC/LIC could be due to the differences in their income levels. For instance, the mean income is $32,756.230 for the HIC, $5229.194 for UMIC, $1774.959 for LMIC and $493.820 for the LIC between 1985 and 2018.

Also, it is found that the coefficients of energy consumption are positive in all the income groups. These results indicate that energy consumption is another factor contributing to global environmental deterioration. The world has been experiencing a rise in energy demand. A sizeable portion of this demand is through the combustion of fossil fuels [33]. Consequently, energy consumption is contributing highly to global environmental degradation. This finding is consistent with previous research on the effects of total energy consumption on environmental degradation [1, 26, 38, 44] but differs from some, which found that renewable energy consumption decreases environmental degradation [64, 75].

Surprisingly, the coefficients of the education variable are positive and statistically significant in all the income groups except in UMIC, which implies that the direct impact of education contributes to environmental degradation in HIC, LMIC and LIC. This outcome can be attributed to the fact that many educated individuals may be unaware of the environmental effects of their actions, and even if they are, they may be unconcerned about the environment as long as they can achieve their personal goals. In consequence, they recklessly generate negative externalities that undermine environmental quality. In such situations, it is logical to assume that education enables access to more pollution-intensive technologies and a comfortable lifestyle, increasing the production and consumption of goods and services. Thus, education in the absence of training for energy-saving and targeted environmental awareness programs derives environmental degradation [3]. These findings support the notion that education cannot reduce environmental degradation without an environmental-friendly syllabus. This finding aligns with previous studies [3, 38, 44], indicating that primary education negatively influences the environment in Brazil, Russia, India, China and South Africa (BRICS) countries. However, the finding does not agree with other studies, which discovered that education reduces environmental degradation [6, 26, 73,74,75].

Having established the direct impacts of education, we examine its moderating effects. As expected, the interaction term coefficients are negative and statistically significant in HIC and UMIC. This finding implies that education can transform the detrimental effect of energy consumption into a mitigating impact on the environment. The interaction term between energy consumption and education has a negative coefficient, implying that education improves environmental quality. Individuals with education are more likely to steer away from environmentally destructive behavior toward more efficient energy resources [64]. Eventually, efficient energy resources improve environmental quality and protect the environment in HIC and UMIC.

Conversely, the finding indicates that the interaction term coefficients are positive and statistically significant for LMIC and LIC. This finding implies that education unfavorably moderates the impacts of energy consumption on the environments in these income groups. Education is likely to increase non-renewable resources and enable access to energy-intensive technology. This conclusion can be ascribed to the fact that many nations, particularly the LIC, lack educational programs focused on environmental sustainability. Thus, environmental damage might result from education without energy-saving content and specialized environmental awareness programs [3]. This finding aligns with that of Katircioglu et al. [38].

Robustness check

We utilize the PMG-ARDL technique to check the robustness of our estimation results. The long-run results presented in Tables 5 and 6, are similar to those of PMG-ARDL in Table 7. The coefficients are relatively similar in size, signs, and significance. The results confirm that our estimates are robust. The short-run results of the PMG-ARDL reveal significant positive relationships between energy consumption and environmental degradation in all the income groups, indicating that energy consumption degrades the environment in the four income groups. The remaining variables are not statistically significant, except education which is negatively related to environmental degradation for LMIC. The PMG-ARDL results show different convergence speeds toward the equilibrium path for both the direct and indirect models (Table 7). The convergence speeds are 19.1% and 22.7% (HIC); 19.2% and 43.5% (UMIC); 19.9% and 20.0% (LMIC); 24.5% and 25.4% (LIC), for the direct and indirect models respectively. We also employ the CCEMG to account for the CD. The results of the CCEMG in Table 8 are fairly similar to those of other estimations (FMOLS, DOLS, PMG-ARDL).

Table 6 DOLS Results
Table 7 PMG-ARDL Results
Table 8 CCEMG results

Marginal effects

Table 9 shows the marginal effects for all the income groups, evaluated at the minimum, mean, and maximum education values. The calculation is based on the FMOLS results.The finding indicates that the marginal effects are statistically significant for all income groups. The marginal effects of education are negative in HIC and UMIC, irrespective of education levels. The marginal effects become larger as education increases. These findings imply that the detrimental impact of energy consumption on environmental degradation reduces as more people are being educated. The result further suggests that a quality education curriculum with environmental awareness content would increase environmental knowledge and encourage eco-friendly behavior, processes, systems and technologies.

Table 9 Marginal effects of primary education

In contrast, it is revealed that the marginal effects are positive and increasing with education levels in the LMIC and LIC. The results imply that increased school enrollment exacerbates the adverse effects of energy consumption in these income groups. The finding could be due to the lack of environmental awareness content in the school curriculum of these countries. It could also be due to their learning process. For instance, the low- and middle-income countries have made immense headway in getting children into school, but learning is not assured. About 53% of children in these countries cannot read and understand a short story by the time they are completing primary school [71].

Causality test

The findings of the causality test are reported in Table 10. The test is necessary to ascertain the causal direction among the variables for policymaking. The results show a two-way causality between economic growth and environmental degradation in the HIC, UMIC and LMIC, confirming the feedback hypothesis, whereas the results show a unidirectional causal link in the LIC. The causality between energy consumption and environmental degradation is bidirectional for the HIC, LMIC, and LIC, while there is no causal link for the UMIC [44]. The feedback hypothesis is found between education and environmental degradation for all income categories, except for the LIC, which reveals a unidirectional relationship between environmental degradation and education. A similar finding is reported in Zafar et al. [75]. In HIC and LMIC, a bidirectional causal link exists between energy consumption and economic growth, consistent with [73, 74] while in UMIC (economic growth to energy) and LIC (energy to economic growth), a unidirectional causal relationship exists.

Table 10 Heterogeneous panel causality test results

Additionally, the findings support a feedback hypothesis between education and economic growth in the UMIC and LMIC. In contrast, the outcomes show a one-way causality from economic growth to energy consumption in HIC and LIC. Similarly, the causal link between education and energy consumption is bidirectional in the UMIC and LMIC but unidirectional in LIC from education to energy consumption. The neutrality hypothesis is confirmed for HIC, implying that education does not affect energy consumption. The bidirectional causality between environmental degradation and the income groups’ variables shows that these variables affect the environment, supporting our earlier long-run estimations.

Conclusion and policy implications

In the last few decades, researchers have made tremendous efforts to uncover the major causes of environmental degradation. Environmental degradation has been linked to a wide range of variables. However, research into the potential moderating effects of education on environmental deterioration has remained largely unexplored. This knowledge gap underscores the significance of this study. We used data from 92 countries between 1985 and 2018 to investigate education’s direct and moderating effects in growth-energy-environment linkages. The countries are categorized into four income groups based on World Bank classifications. We employ the FMOLS approach in conjunction with the DOLS and PMG-ARDL methodologies. We also compute education’s marginal effects. Finally, we use heterogeneous panel causality to investigate the variables’ causal linkages. The paper’s empirical findings yield several interesting inferences with substantial policy implications.

For the HIC and UMIC, our finding validates the EKC hypothesis. However, the finding could not confirm the EKC hypothesis for the LMIC and LIC, indicating that economic growth is not, on its own, a magic wand capable of solving environmental problems in the LMIC and LIC. In addition, energy consumption contributes to environmental deterioration in all income groups. Similarly, education directly affects the environment in all income groups except UMIC. However, the moderating effect of education is shown to mitigate the negative environmental impact of energy consumption in HIC and UMIC but exacerbates it in the LMIC and LIC.

Policy implications of our findings show that economic growth is one of the silver bullets for reversing environmental degradation in HIC and UMIC. Countries in these income groups should prioritize economic growth measures and address environmental issues in their development agendas. Nonetheless, the HIC and UMIC should employ more innovative, energy-efficient, and environmentally friendly technology, particularly in the industrial sector, to boost economic growth and improve overall environmental quality.

The non-validity of the EKC hypothesis in the LMIC and LIC, on the other hand, implies that economic growth is not a solution to environmental deterioration in these income groups. As a result, effective policies are essential to bringing about a significant and timely reduction in environmental degradation. However, governments in LMIC and LIC should not stifle growth by enforcing stringent environmental rules that jeopardize possible future growth. Governments should instead devise methods for shifting away from non-renewable energy consumption and toward renewable energy usage.

The adverse environmental effects of education across income groups demonstrate that education does not always translate into more environmentally responsible behavior or improved environmental quality. As a result, environmental education must be included in their school curriculum. However, in HIC and UMIC, education has been demonstrated to play a moderating role in mitigating the detrimental effects of energy use on the environment. As a result, countries in these income categories should continue to embrace environmental education to improve environmental quality, as education may motivate individuals to utilize energy more efficiently. On the other hand, in LMIC and LIC, where education’s moderating roles aggravate environmental deterioration, the education curriculum should be transformed to include environmental knowledge, skills, and the necessary mindset to enable energy-efficient behaviours that reduce environmental degradation.

The existence of bidirectional links between the variables shows that they are mutually dependent. As a result, environmental education in the school curriculum and attracting clean and energy-efficient technology while encouraging economic growth should be implemented to lessen their feedback effects. Furthermore, the confirmation of unidirectional causality from economic growth, energy consumption, and education to environmental deterioration suggest that these countries advance at the expense of the environment. Consequently, policymakers should develop policies to reduce their detrimental environmental impacts. Similarly, the unidirectional causality between education and energy consumption implies that education supports increasing energy consumption. Hence, individuals should be educated on using energy efficiently.

To summarise, governments and other environmental stakeholders across the income groups should realize that there exists no one-size-fits-all strategy for solving environmental problems. Instead, it is a combination of policies formulated to stimulate economic growth and enhance environmental quality while focusing on education. Education is critical for environmental sustainability as it cultivates pro-environmental behaviors and attitudes and encourages energy-efficient products and investments in green technologies. However, education may also promote energy-intensive activities and dirty technology by supporting lifestyles that are not particularly eco-friendly. Therefore, it is essential to provide education that aids better environmental quality. We propose that governments and policymakers in these economies continue to invest in environmental education, encourage clean energy usage, promote pro-environmental behavior, and reduce the adverse effects of energy consumption on the environment. Future research should consider other variables, such as educational policies, quality of education, and their moderating effects.