Introduction

The environmental consequences of economic growth have been a major challenge affecting sustainable development processes (Balsalobre-Lorente et al. 2021). These consequences include climate warming, biological extinction, and irreversible damage to ecological resources, among others. Over the past few decades, economies, regions, and individuals around the globe have paid the price for the environmental damage they have caused. At the same time, many are also taking positive action to mitigate the climate and ecological crisis (Ozcan et al. 2020). Climate change creates severe weather patterns to which all living things cannot adapt. However, the shortage of ecological resources will become the ultimate crisis that is likely to lead to the destruction of the living environment.

Ecological footprint (EF) is an important indicator in mitigating ecological crises and has been studied by many scholars (Chu and Le 2022; Figge et al. 2017; Khan et al. 2021b; Solarin et al. 2021). Moreover, EF is also an effective tool for measuring multifaceted ecological resource occupation activities, for example, carbon footprint, land, agricultural fields, fishing grounds, forests, and agricultural cropland (Lyu et al. 2021). The global EF has risen by 190% over half a century, indicating that the relationship between humans and ecological resources has become unbalanced (Ahmad et al. 2021). Specifically, in 2017, the global ecological footprint reached 2.77 global hectares (GHA) per capita (GFN 2021). To give a more visual indication of resource occupation, the Global Footprint Network also uses another calculation metric: the earth equivalent. The earth equivalent states that if every citizen of the world depended on ecological resources to live a normal life, those citizens would need at least 1.73 earths to meet the footprint they occupy. However, it is obvious that we only have one earth. If ecological resources are not sufficient to meet human needs, it will trigger a global ecological deficit, which will further exacerbate the ecological crisis facing the planet and its inhabitants. Therefore, it is crucial to find the factors that induce ecological crises and the means to mitigate them.

It is well known that an abundance of natural resource reserves is an important pillar of a country’s national economy (Khan et al. 2021b; Pata et al. 2020). For the past half-century, developed countries rich in natural resources have led the economic development of the world. High-income countries, led by the G7 countries, tend to prioritize the economic well-being and spiritual satisfaction they receive in exchange for natural resources. In this regard, the gradual increase in EF reflects the extent to which people consume natural resources to support their needs (Pata et al. 2020). However, rapid economic development without considering the environmental consequences has led to severe environmental degradation. Clearly, this type of consumption also violates the law of intergenerational equity that promotes sustainable development (Demirel et al. 2016).

With regard to G7 countries, the link between natural resources and EF can be categorized into two groups. Countries in the first group, including Canada and the USA, possess an abundance of natural resources but produce the most severe environmental degradation in tandem. For example, the vast territory of Canada has contributed to a global abundance of mineral resources. Canada’s production of nickel, zinc, platinum, and asbestos is the highest in the world. In addition, Canada’s vast landmass and suitable precipitation allow the country to produce huge timber reserves. However, an over-reliance on natural resources has also led Canada to suffer the most severe environmental degradation of the seven countries. In 2017, Canada’s ecological footprint reached 8.08 GHA per person, or 5.05 earth equivalents. In the same contextual model, the USA follows Canada with an ecological resource footprint of 8.04 GHA per person (5.03 earth equivalents). Most of the energy in the USA comes from non-renewable sources (Khan et al. 2020), and its coal, oil, natural gas, phosphate, potash, iron ore, and other mineral reserves are among the largest in the world. The USA is also rich in land resources, containing 12% of the world’s total arable land area. In this regard, a progressively increasing EF provides evidence of continuous demand for resources from mankind. The second group of countries, including Germany, France, Italy, and Japan, possesses relatively scarce natural resources. All four economies have less than 0.1% of natural resource rents and produce ecological footprints between 4.2 and 4.7 GHA per capita (as of 2017).

The most notable of the G7 countries is the UK. With considerable oil and shale gas reserves, the UK is also the richest country in the European Union countries in terms of energy resources (Atkinson and Hamilton 2020). The UK has roughly the same share of resource rents as the USA and only one-half the ecological footprint. This is because the UK, as the earliest industrialized country, also introduced very strict environmental protection policies. The UK has been imposing a climate tax since 2001 in response to the climate change crisis. In addition, the UK has developed more advanced technologies for water resource treatment and utilization. As such, the water and soil resources in UK are greatly protected, and its ecological footprint is reduced. This begs the question of whether technological innovation can reduce the global ecological footprint by reducing the use of natural resources among G7 countries. Therefore, based on our exploration of the impact of natural resources on EF, we also examine the interaction between natural resources and green technologies to verify its role on EF.

Nowadays, the dramatic worldwide growth of aging populations has pushed population, an important environmental factor, into a deeper level of discussion. Population aging is a global phenomenon, especially among G7 countries. Japan is the most elderly country in the world, with an aging rate of 28%. Other countries with aging rates above 20% include Italy, Germany, and France. The remaining G7 countries, the USA, the UK, and Canada, all have aging rates of over 16%. The emergence of the aging phenomenon brings many challenges to the new era. It affects many aspects of the world development process, including social security systems, health care levels, financial markets, and economic growth (Menz and Welsch 2010).

From an environmental perspective, the impact of demographic change due to aging on environmental quality is the most visible (Dalton et al. 2008). However, the exact association of this effect is not clear. Most scholars support the positive environmental effects of aging. From the perspective of resource consumption, lower fertility and birth rates reduce population size and may improve environmental degradation by reducing resource use and energy consumption (Bongaarts 1992; Cole and Neumayer 2004). Regarding consumption patterns, elderly populations not only seek higher environmental and air quality but also engage in more energy-saving and environmentally friendly behaviors than younger people. For example, older people are more likely to take public transportation rather than frequently using personal vehicles, thus reducing energy consumption in transportation (Kronenberg 2009; O’Neill and Chen 2002). Considering that the growth of the aging population affects the process of natural resource use, the indicator of carbon emissions is no longer sufficient to support our desired conclusions. Therefore, we include the role of population aging in our study of ecological footprint.

In summary, our study contributes to the existing literature by focusing on the following aspects. First, this paper covers panel data for seven major global economies (G7) from 1970 to 2017. While Yang et al. (2021a) have included population aging in the theoretical framework of natural resource and ecological footprint studies for the first time, the severity of aging is uneven across the 27 Organization for Economic Co-operation and Development (OECD) countries. Taking the 2017 data as an example, 14 of the countries in the sample used by Yang et al. (2021b) are below the average level (18%) of aging in OECD countries, and four countries are less than 10% old. Estimating panel data for different levels of aging may result in bias in the estimated coefficients. Therefore, through data analysis, we used a sample of G7 countries that all have a high level of aging. Not merely that, the above discussion also reveals that the G7 countries are rich in natural resources and meet the conditions for our sample selection. More importantly, our study bridges the gap in the literature on population aging and environmental economics in the G7 countries. Developing a suitable theoretical framework for G7 countries would be useful to emulate in other developed or emerging economies. Second, we have included the green technologies in this model. As per best of authors’ knowledge, no previous studies examine the role of green technologies in the relationship between natural resources and ecological footprint. Third, this work also employs the panel quantile regression to examine the heterogeneous effects of vital variables on ecological footprint under different conditional distributions. To our knowledge, this is the first study to explore the heterogeneous impact of population aging on ecological footprint from the perspective of panel quantile regression. Unlike the conditional mean distribution, regression at different quantiles provides a fuller and more extensive characterization of the impact distribution. In tandem, clearer indication of the effects of the independent variables on the dependent variable will offer more detailed and comprehensive advice to decision makers.

In general, the current research intends to contribute to the existing literature and address the following queries:

  1. 1.

    How do natural resource rents affect EF in the G7 countries?

  2. 2.

    What is the impact of population aging on EF in G7 countries?

  3. 3.

    Do green technologies moderate the relationship between natural resources and EF in G7 countries?

  4. 4.

    Do natural resources, population aging, and green technologies have heterogeneous effects on the ecological footprint of different condition distributions?

The remaining sections are as follows: “Literature review” section presents the existing literature, while “Model, data, and methodology strategy” section discusses the methodology and data. In “Empirical results and discussion” section, we give the empirical analysis. In the last section, we conclude the paper and offer some policy implications.

Literature review

This study investigates the linkage between the abundance of natural resources, population aging, green technologies, and EF. For coherence, we divided the review of literature into three segments: natural resources and EF nexus, the nexus between population aging and EF, and the relationship between green technologies and EF.

Natural resources and ecological footprint

The association between an abundance of natural resources and environmental quality is a controversial subject with different arguments. The first strand of the literature suggests that natural resources improved the ecological quality. For instance, a study by Danish et al. (2020) on BRICS countries showed that natural resources improve environmental quality by lessening EF. Similarly, the empirical evidence from the USA reached by Khan et al. (2021a) demonstrated the negative effect of natural resources on EF. An earlier study by Zafar et al. (2019) also reported a positive impact of natural resources on environment quality in the USA. Zhang et al. (2021) examined the impact of natural resources on EF in Pakistan and report that natural resources negatively affect EF. Kongbuamai et al. (2020) found that natural resources have a negative impact on the EF in members of the association of Southeast Asian nations. Their findings support the view that economies with an abundance of natural resources can enjoy better environmental quality than those without such an abundance of resources.

The second strand of the literature suggests a positive effect of natural resources on EF. For instance, Ahmed et al. (2020) probed the relationship between EF and natural resources rent in China from 1970 to 2016. They highlight that natural resource rent significantly increased environmental degradation because China has been putting massive pressure on its ecological resources to fulfill its growing energy demand. Likewise, Zia et al. (2021) argued that natural resources are causing a surge in ecological footprint of China. And Shen et al. (2021) also observed a positive correlation between natural resources and carbon emission using the panel data of 30 provinces in China. Ahmad et al. (2020) investigated the linkage between natural resources, technological innovation, and EF in emerging countries. Using the CS-ARDL model, they disclose the positive effect of natural resources on EF, while technological innovation has a native effect on EF. They also confirmed a similar relationship in the top ten ecological footprint countries. In a recent study on natural resources, Nathaniel et al. (2020) revealed a positive and significant effect of natural resources on EF in BRCIS countries. They further highlight that these countries are endowed with resources but compromise their environmental quality to gain foreign exchange. Muhammad et al. (2021) pointed out that the total amount of natural resources is one of the main factors driving environmental degradation in BRICS countries and other developing or developed areas.

Population aging and environmental degradation

The human population has grown exponentially over the past few decades, placing enormous pressure on ecological resources and the environment (Khan et al. 2021a; Yang and Khan 2022). Numerous scholars have explored the linkage between population and environmental quality, but little attention has been paid to examining the impact of population aging on environmental quality. Therefore, the topics of population aging and environmental quality have gained substantial interest from scholars. For instance, Dalton et al. (2008) studied the linkage between the aging population and carbon emission in the USA. They concluded that population aging reduces carbon emission by almost 40% in the long run because older people prefer to use public transport, thereby reducing the use of private cars and resources and thus lowering pollution levels. Likewise, Hassan and Salim (2015) stated that a 1% increase in the aged population would decrease carbon emissions by 1.55% in the long term. Yang et al. (2021a) and Yang et al. (2021b) also reported on the negative effect of population aging on the degradation of the environment. They further highlight that the elderly population uses fewer commodities than the young population and shows the shift of demand towards a low carbon pattern.

On the contrary, Menz and Welsch (2010) argued that older people use more energy-intensive products and consume more energy, thereby aggravating higher emissions. However, Menz and Welsch (2012) claimed that the relationship between population aging and environmental degradation depends on the country’s development level. Liddle (2011) analyzed the impact of age structure on electricity consumption and environmental degradation. Their results indicated young people (20–34) and older populations (70+) have a positive coefficient, whereas middle-aged people (35–49 and 50–69) pose a negative effect, indicating the presence of a U-shaped association between aging and emissions. A recent study of EU-5 countries by Balsalobre-Lorente et al. (2021) reported an inverted U-shaped association between population aging and carbon emission.

Green technologies and environmental degradation

Several empirical results demonstrate that the innovation brought by green technologies promotes environmental sustainability by lessening EF and CO2 emissions. For instance, Wang et al. (2020) examined the impact of technological innovation on CO2 emissions in G7 countries between 1990 and 2017. They concluded that technology innovation poses a mitigating effect on carbon emission and can help to improve environmental performance caused by increasing economic activities. Likewise, Ahmad et al. (2021) also reported a similar connection between eco-innovation and EF among G7 countries. Their results further highlight that development level plays a crucial role in the relationship between eco-innovation and EF. They claimed that eco-innovation is more effective at abating emissions among G7 countries than in developing countries. Similarly, Ding et al. (2021) revealed that eco-innovation significantly alleviates consumption-based carbon emission in G7 countries. The mitigating effect of innovation on environmental degradation is also stated by numerous researchers, including Sinha et al. (2020), who researched NEXT 11 countries, Solarin and Bello (2020), who researched the USA, Hashmi and Alam (2019), who researched selected OECD countries, and Zhang et al. (2017) who researched China. On the contrary, Yii and Geetha (2017) concluded that technological innovation is negatively related to carbon emission in the short run while there is no effect that affects the long run. Others argue that innovations in green technologies can reduce environmental degradation only under certain conditions. For instance, Ahmad and Zheng (2021) pointed out that during the economic upturn in BRICS countries, the positive shocks of environment-related innovation can improve environmental quality by minimizing CO2 emissions. Razzaq et al. (2021) found that green technologies can reduce carbon emissions of BRICS regions only at higher emission levels. These researches have highlighted the direct effect of technological innovation on environmental quality. However, few authors have focused on the indirect effects of technological innovation on environmental quality, especially through the channel of natural resource use.

Research gaps

Summarizing the above literature, we can conclude that there are limited studies that examine the impact of natural resources and population aging on environmental quality and the relationship between the two and do not have a definitive conclusion. Moreover, these studies fail to discuss the relationship between natural resources, population aging, green technologies, and EF. On the other hand, researchers mainly examined the relationship between green technologies and EF, but none of the studies examined the moderating effect of green technologies on the relationship between natural resources and EF. Therefore, this study fills this gap and investigates the linkage between population aging, natural resources, green technologies, and EF in the context of G7 countries. In addition, previous studies concerning the impact of interested variables on EF are all econometric methods using conditional mean estimator. In this respect, they ignore the influence of different degrees of variables and outlier distribution, which is easy to lack of heterogeneity analysis. Therefore, we provide estimates under different conditional quantiles, hoping to show a different perspective for the analysis of existing literature.

Model, data, and methodology strategy

Model construction

This paper follows the models constructed by Ahmad et al. (2020) and Ahmad et al. (2021) and incorporates two key factors, natural resource rent and population aging, into the framework. In addition, control variables include GDP and energy consumption, which are frequently employed to discuss environmental consequences. Therefore, we build the following model:

$$EF = f(NR,PA,EI,GDP,EC)$$
(1)
$$lnEF_{it} = \beta_{0} + \beta_{1} lnNR_{it} + \beta_{2} lnPA_{it} + \beta_{3} lnEI_{it} + \beta_{4} lnGDP_{it} + \beta_{5} lnEC_{it} + \tau_{it}$$
(2)

To verify the indirect impact of natural resources on EF, that is, whether green technologies have a moderating effect, the interaction term (lnNR*lnEI) between green technologies and natural resources is included in Eq. (2). Therefore, the original model is extended to the following Eq. (3):

$$lnEF_{it} = \beta_{0} + \beta_{1} lnNR_{it} + \beta_{2} lnPA_{it} + \beta_{3} lnEI_{it} + \beta_{4} lnGDP_{it} + \beta_{5} lnEC_{it} + \beta_{6} ln(NR*EI) + \tau_{it}$$
(3)

where i refers to the seven cross-sections, i.e., seven countries (1, 2, 3, … ,7); t represents the time period (1970–2017) involved in this study; τ represents the error item; NR, PA, and EI denote natural resources, population aging, and green technologies, respectively; economic growth is represented by GDP; and EC denotes energy consumption. To diminish metric error between the data, all variables were transformed by natural logarithm. The measurement of the variables and the data source are proffered in Table 1.

Table 1 Variable’s description

Data

This paper explores the dynamic linkages between natural resources, population aging, green technologies, and ecological footprint in G7 countries. The G7 countries covered include the USA, Japan, the UK, Germany, France, Italy, and Japan. The EF indicates the relevant ecological consequences, and the data are derived from the open platform of the GFN. The data for natural resource rents are obtained from the WDI. It measures the extent to which the seven countries consume and occupy natural resources to meet their living and production needs. The common international view on population aging is that a nation becomes an elderly society if 10% of the total population is over 60 years old or 7% of the total population is over 65 years old (UN 2021). Data on population aging and GDP are also derived from the WDI. Data on green technologies are characterized by the number of environment-related patents. Compared to other alternative innovation indicators, patent data have several attractive features. They are widely available, quantitative, comparable, and output-oriented (OECD 2021). In addition, data on energy consumption are derived from the Statistical Review of World Energy, published by BP in 2020. The study period spans from 1970 to 2017, which is based solely on the available range of related data required for the empirical analysis. The EF only supports data before 2017. And after reviewing the data availability of other variables, we finally settled on 1970 as the starting date. Table 2 contains general information about the data used in this paper, including maximum, minimum, mean, median, and standard deviation. Box charts of our six variables are shown in Figure 1.

Table 2 Descriptive statistics and pair-wise correlation analysis
Fig. 1
figure 1

The box charts of six variables employed in this paper

Methodology strategy

Before performing the empirical analysis, the panel data requires a number of testing procedures to determine the usability of the model. The flow of the estimation strategy in this paper can be seen in Figure 2. It shows each test session and the econometrics methods used. The methods for testing include the cross-sectional dependency test proposed by Pesaran (2004), the slope homogeneity test proposed by Pesaran & Yamgata (2008), the unit root test raised by Pesaran (2007), the cointegration test of Westerlund (2007), and the causality test presented by Dumitrescu and Hurlin (2012).

Fig. 2
figure 2

The flow chart of estimation strategy

Cross-sectional augmented autoregressive distributed lag (CS-ARDL)

The short-term and long-term relationships between natural resources, population aging, green technologies, economic growth, energy consumption, and EF in this paper are determined using the advanced CS-ARDL estimation method (Chudik and Pesaran 2015). Compared to other estimation methods, the CS-ARDL method has three significant advantages. Firstly, it is still able to overcome and give robust results against the CD and heterogeneity problems addressed in the previous subsections. Secondly, it can overcome possible endogeneity problems among variables, eliminating the potential risk of bias in the estimation results. Thirdly, the method is more lenient in terms of data smoothness requirements. This is because CS-ARDL can estimate variables of mixed integration order rather than requiring all variables to be I(0) or I(1) processes. The test equation for CS-ARDL is:

$$\Delta y_{i,t} = \varphi_{i} + \sum\limits_{j = 1}^{p} {\varphi_{it} \Delta y_{i,t - j} + \sum\limits_{j = 0}^{p} {\varphi \prime_{ij} EXV_{i,t - j} + \sum\limits_{j = 0}^{p} {\varphi \prime_{it} \overline{Z}_{t - j} + \varepsilon_{i,t} } } }$$
(4)

where EXV stands for all explanatory variables and \(Z_{t} = (\Delta \overline{{y_{t} }} ,\overline{{EXV_{t} }} \prime )\prime\) is the average value of cross-section.

Robustness test (AMG)

As an essential part of the measurement strategy, robustness tests are also incorporated in the estimation step. The augmented mean group (AMG) estimator developed by Eberhardt (2012) is applied in this study. This method can also give long-run estimated coefficients and can overcome some of the common problems with the data mentioned in the above steps. Therefore, the use of the AMG method as a robustness screen is qualified and reasonable.

Panel quantile regression

CS-ARDL and AMG present long-run equilibrium between variables. However, these two methods cannot demonstrate the heterogeneous effects of the main explanatory variables on the ecological footprint. Therefore, this paper takes a panel quantile regression approach to overcome the effects of outliers and heteroskedasticity and gives the estimated coefficients at different quantile levels. Quantile regression was proposed by Koenker and Bassett (1978). The quantile regression model allows to determine the effect of covariates on the entire conditional distribution of the dependent variable (Opoku and Aluko 2021). For the panel quantile regression, we use the non-additive fixed effects proposed by Powell (2016), an estimate that should be useful in environments where differential identification is required and where the effects of the variables are believed to be heterogeneous across the distribution of outcomes. Moreover, non-additive fixed effects allow for the presence of endogeneity as it is developed in the framework of instrumental variables. In the case of dealing with a large number of variables, Powell (2016) requires other optimization methods such as Markov chain Monte Carlo (MCMC). The quantile regression model used in this paper is as follows.

$$lnEF_{it} = \alpha_{\tau } X_{it}^{^{\prime}} + \eta_{it} ,0 < \tau < 1$$
(5)
$$Quant_{\tau } (\left. {lnEF_{it} } \right|X_{it} ) = \alpha_{\tau } X_{it}^{^{\prime}}$$
(6)

where \(X_{it}^{^{\prime}}\) is the vector consisting of natural resources, population aging, green technologies, economic growth, and energy consumption; \(\alpha\) is the coefficient vectors to be estimated; \(\tau\) indicates a quantile between 0 and 1; and \(\eta\) is a random perturbation term.

Empirical results and discussion

The panel test results

We obtain the cross-sectional correlations between countries, as shown in Table 3. All variables meet the 1% significance requirement, indicating a strong rejection of the original assumption. The interpretation of this result is that although there are asynchronies in economic growth, population planning, and policymaking across countries, it is inevitable that the decisions and progress of any one country will indirectly affect other economies. The reflection in statistics shows the problem of cross-sectional correlation. Again, the slope homogeneity test in Table 4 provides further evidence: the values of \({\widetilde\Delta}_{SH}\) and adjusted \({\widetilde\Delta}_{adjusted}\) in two models reject the presence of homogeneity at 1% significance. Therefore, the current panel data are heterogeneous.

Table 3 Cross-sectional dependency test results
Table 4 Slope heterogeneity test results

Next are the outcomes of the unit root tests which are displayed in Table 5 and the results show that unit root problems exist at the level for EF, GDP, and EC. However, all three variables get stationary after performing the first-order difference. Moreover, NR, PA, and EI are I(0) processes. The mixed integration order is equally sufficient for the cointegration test and coefficient estimation steps. Therefore, the cointegration test results are given in the results in Table 6. Results for model 1 show significant cointegration equilibrium properties between natural resources, population aging, green technologies, GDP, energy consumption, and EF Similarly, among the results of the extended model 2, we find that when the cross term of natural resources and green technologies (lnNR*lnEI) is added, the model also has a strong long-run covariance. Thus, there is evidence that the individual variables vary and move together with EF.

Table 5 Panel unit root tests results
Table 6 Westerlund cointegration test results

The long-run and short-run results

After ensuring some basic requirements before estimating the panel data, we estimate the long-run and short-run associations between the variables. Table 7 shows the regression results for CS-ARDL. Natural resources (NR) significantly stimulate EF in both the short and long term. In terms of data, the average short-term EF increase of 0.023% (model 1: 0.010%; model 2: 0.036%) is due to the role of natural resources. In the long run, 0.01% (model 1: 0.006%; model 2: 0.023%) of the increase in EF is caused by natural resources. The reason for the unsustainability of natural resources may be the inadequate management system of the resource-related sector. Once a natural resource is “leased,” it will lead to overexploitation of natural resources if the economy is not guaranteed to receive the corresponding rent or tax. This type of resource use not only costs the economy economic benefits but is likely to create a resource curse for the region, leading to slow or even stagnant regional economic growth (Ulucak et al. 2020). The present conclusions are in agreement with Ahmad et al. (2020), Balsalobre-Lorente et al. (2021), Danish et al. (2020), Pata et al. (2020), Shen et al. (2021), and others. However, the conclusions are not shared by Khan et al. (2021a) and Zafar et al. (2019), who argue that natural resources improve environmental quality by reducing dependence on fossil fuels.

Table 7 The CS-ARDL estimations

The regression results further indicate that population aging shows a negative relationship with EF in the long term as well as in the short term. Averaging the data from both models, every 1% increase in population aging (PA) will result in a 0.341% decrease in the short-run EF and a 0.201% increase in long-run EF. The negative coefficient of population aging suggests that older age groups are improving the environmental quality of G7 countries by reducing EF, which provides evidence for the third query of this paper. This view is consistent with O’Neill et al. (2010), Yang and Wang (2020), and Yang et al. (2021a). From an economic perspective, economic growth brings high rates of natural resource extraction. Meanwhile, an aging population can cause a shortage of labor supply (Balsalobre-Lorente et al. 2021). This reduces the economic growth rate in tandem with the risk of ecological deficit caused by the overexploitation of resources. From the perspective of industrial structure, aging will promote the development of tertiary industries, such as livelihood security for the elderly, pension systems, and health care industries, thus upgrading and optimizing industrial structures (Yang and Wang 2020). These sectors consume less energy and reduce the level of dependence on natural resources, which in turn improve environmental conditions. Furthermore, in terms of consumption patterns, most elderly people choose resource-saving travel methods and goods (Yang et al. 2021b). Moreover, in terms of attitudes surrounding environmental protection, tolerance for environmental degradation decreases with age due to a more spiritually enriched elderly population who prefer a “green” natural environment and thus actively reduce their ecological footprint consumption.

We also detect a negative effect of green technologies on EF. In the short-term scenario, green technologies (EI) reduce the EF by 0.054% on average (model 1 is −0.048% and model 2 is −0.059%). Similarly, in the long-term scenario, a 1% increase in EI leads to a 0.033% decrease in EF. This is consistent with the results of several studies involving research of green technologies and EF (Ahmad et al. 2020; Ahmad et al. 2021). The implementation of green technologies can increase the productivity of existing societies and improve the production methods based on the consumption of traditional energy sources, thus reducing pollutant emissions. In addition, the development and implementation of cleaner technologies such as more efficient green technologies can reduce energy consumption and pollution emissions per unit of product compared to traditional technologies, thus increasing the value of resources and energy use. When green technologies are developed to a certain extent, they stimulate the replacement of energy-consuming technologies, which in turn expands the share of environmentally friendly technologies. In this regard, the continuous advances in green technologies tools can improve the efficiency of natural resource use, thereby slowing resource depletion and minimizing ecological degradation (Ulucak et al. 2020). We further explored the moderating role of green technologies between natural resources and EF. The cross term (lnNR*lnEI) in model 2 provides the joint impact of natural resources and green technologies. Both the short-run and long-run estimated coefficients of the crossover term are negative, indicating that the moderating effect of green technologies displays a beneficial driving effect on mitigating environmental degradation due to natural resources in G7 countries. Green technologies can provide new and efficient technological support for natural resource management and use, and gradually reduce the ecological burden by reducing the growth path that is highly dependent on natural resources. It also verifies the second hypothesis of this paper: green technologies moderate the relationship between natural resources and EF in G7 countries. Innovative means will replace manual labor to obtain higher rates of resource utilization than obsolete natural resource extraction and exploitation techniques. Innovation, value addition, and reuse of resources will not only reduce environmental degradation but also be in line with the vision of sustainable development (Bekun et al. 2019).

In addition, both GDP and EC contribute to the unsustainability of the ecological environment. On average, each 1% increase in GDP will boost EF by 0.744% (short term) and 0.448% (long term). This result is supported by the conclusions of many recent studies (Ahmed et al. 2021a; Danish et al. 2019; Xue et al. 2022; Zhang et al. 2021). Ahmed et al. (2021c) also found that when economic growth exceeded a threshold, biocapacity would increase. All this evidence points to a link between economic growth and environmental unsustainability. Additionally, energy consumption also increases EF, corresponding to 0.457% (short term) and 0.285% (long term), respectively. This finding is also supported by Baz et al. (2020), Destek and Sinha (2020), among others. G7 countries have been pursuing economic and market leadership for the past few decades at the expense of the environmental consequences they will suffer. As economic activities have become more widespread, energy consumption has risen, further increasing environmental degradation. Khan et al. (2021d) also proved that energy transitions adversely associated with EF and economic growth for another group of developed countries—OECD. Therefore, investing in clean energy and reducing fossil energy consumption will contribute to the realization of environmental sustainability (Ahmed et al. 2021b; Khan et al. 2021c; Rehman et al. 2021).

In response to the above findings, further corroboration is performed using the AMG estimator to increase statistical evidence for the conclusions. The results in Table 8 display that natural resources, GDP, and energy consumption increase EF, while population aging and green technologies decrease ecological consequences. In addition, green technologies play a sustainable role in the linkage between natural resources and EF. The AMG findings also provide us with evidence for the three hypotheses once again.

Table 8 The AMG estimations (for the robustness test)

The panel quantile regression results

The quantile regression results provided in Table 9 shows that the coefficients of some variables remain constant at different quantiles of the ecological footprint, while the coefficients of individual variables have both positive and negative values, thus showing heterogeneous effects. Specifically, the estimated coefficients for natural resources fluctuate between 0.04 and 0.1, which is not a large range of fluctuation, but the coefficients are always significantly positive at each quantile. This suggests that in G7 countries with high natural resource abundance, natural resource use significantly stimulates an increase in ecological footprint and causes environmental degradation, and this effect is homogeneous across all quantiles. In addition, the quantile regression results capture the heterogeneous effect of population aging on the ecological footprint. Specifically, the effect of population aging on the ecological footprint of the lower quantiles (quantiles 1st, 2nd, and 3rd) is significantly positive. This positive result is identical to the findings of Balsalobre-Lorente et al. (2021) for the EU5 and Menz and Welsch (2010) for OECD countries on the environmental quality impacts of aging. At the same time, this result echoes the previous findings of Yang et al. (2021a) on the short-term effects of aging on the ecological footprint. However, for the fourth to eighth quantiles, the estimated coefficient of population aging is negative and consistently confirmed at the significance level of 0.01%. Notably, at quantile 9th, the estimated coefficient of aging begins to change, not only showing a decrease of 0.26% in the coefficient, but also being insignificant at any level, indicating that the negative impact of aging on the ecological footprint begins to diminish. Similarly, we have observed a heterogeneous effect of green technologies on the ecological footprint. The green technologies coefficient has a significant negative value at quantiles 1st to 3rd. In contrast, the coefficient transforms into a significant positive value in quantiles 4th and 5th. Interestingly, in the remaining quantiles 6th to 9th, the effect of green technologies on the ecological footprint turns negative again, and both are statistically significant. Therefore, green technology can inhibit the degradation of ecological environment at low and high quantiles. The reason for this result might be that the members of the G7 have large differences in the level of development of technological innovation, thus leading to the heterogeneity of the regression results. Moreover, for the control variables, economic growth leads to an increase in the ecological footprint, except in the 3rd, 4th, and 9th quantiles where the effects are negative, thus capturing the fact that the impact of economic growth on the ecological footprint is not perfectly symmetric in the overall distribution. The findings for energy consumption, on the other hand, show that it has a significant positive coefficient in all quantiles. Thus, the growth of energy consumption is associated with ecological degradation in G7 countries.

Table 9 The quantile regression results of Powell (2016)

The causality test results

The causality test is authenticated in Table 10. The results confirm the bidirectional causality between natural resources, population aging, green technologies, economic growth, energy consumption, and EF. Therefore, policymakers in G7 countries need to be aware that any decision regarding natural resources, aging, green technologies innovation, economic growth, and energy relevant use will affect EF, either directly or indirectly through causality, and vice versa. The ecological environment needs to be taken seriously because we observe a causal link from ecology (environment) to population (society). Any change regarding ecological quality does not simply cause environmental changes, but can directly or indirectly affect the population in society. Deterioration of ecological quality may be hazardous to human health by affecting land, water, and air quality. Of course, it is also possible to enhance health through improvements in ecological quality, thereby extending human lifespan. In addition, we found a causal link from ecological footprint to green technology. Ecological degradation is gradually attracting the attention of the whole society, which stimulates countries to accelerate the process of technological innovation development. Actively mitigating environmental degradation and improving the human living environment at the technological level is the best way to achieve sustainable development for both humans and the planet.

Table 10 The DH causality test results

Conclusion and policy implications

Conclusion

Pioneering G7 countries, which benefited from high economic leadership and a “demographic dividend,” are facing twin challenges of environmental degradation and population aging. Therefore, these countries must find instruments and policy directions that can safeguard their current environmental welfare. With this in mind, this paper investigated the effects of natural resources, population aging, green technologies, economic growth, and energy consumption on the ecological footprint of G7 countries between 1970 and 2017. First, this study identified the presence of cross-sectional correlation and slope heterogeneity across the seven countries. Under this condition, we conducted unit root tests and cointegration tests on the data using a second-generation panel regression technique that considers cross-sectional issues. The results show that all variables except NR, PA, and EI remain stable after first-order differencing. Therefore, the variables used in this paper are of mixed integration order. In the process, this paper also confirms the cointegration between the variables of interest. These outcomes allow the application of advanced CS-ARDL models for the estimation of long-run and short-run relationships between variables. CS-ARDL results reveal that natural resources, GDP, and energy consumption drive a county’s long-term and short-term ecological footprint, while population aging and green technologies reduce ecological footprint. Notably, the cross term of natural resources and green technologies also diminishes ecological footprint, suggesting that natural resource use, moderated by green technologies, can mitigate the risk of environmental degradation. To verify the heterogeneous effects of the variables of interest on the ecological footprint, we quantified the coefficients of the effects of natural resources, population aging, and green technologies on the ecological footprint at different quantiles using a panel quantile regression. The quantile regression results show that the impact of natural resources on ecological footprint is positive at each quantile and thus symmetrically distributed in the overall impact. Population aging presents a heterogeneous impact, as evidenced by positive estimated coefficients for the first three quantiles and negative results from quantile 4 to quantile 9. The distribution of the impact of green technologies is more complex, with coefficients ranging from negative to positive to negative again, showing significant heterogeneity.

In addition, to avoid errors in the practical significance of the results, we verify the causal relationships between the explanatory and explained variables. The causal relationships indicate that there is a bidirectional effect between natural resources, GDP, energy consumption, and ecological footprint, while population aging and green technologies are the unidirectional Granger causes of ecological footprint.

Policy implications

In response to the findings, this paper provides the following policy implications: (1) The regression results suggest that natural resource rents deteriorate the environment by increasing the ecological footprint. Relevant departments in G7 countries should strengthen regulations on natural resource management and strictly enforce taxation mandates on natural resource use in order to prevent the use of ecological resources without compensation or at low prices. Whether it is an individual or an enterprise, those who use ecological resources must pay for them. In the case of excessive damage caused to the environment, compensation should be paid in addition to paying the necessary rent to guarantee the sustainable use of resources. (2) Additionally, countries should not only raise awareness for resource conservation among people and enterprises but also try to coordinate the relationship between economic growth, resource use, and the environment to avoid the “resource curse.” (3) Green technologies alleviate environmental degradation by moderating the role of natural resources on EF. Therefore, G7 countries should strongly support green technologies projects and screen for new industries that are consistent with sustainable development. Green technology innovation could reduce G7 countries’ dependence on polluting energy use and industrial equipment. At present, the research and development of green technology face the dilemma of high investment and low return. However, the G7 still needs to develop measures and policies to encourage companies and enterprises to develop new products and reduce the risks and burdens of emerging industries. In addition, outdated natural resource extraction and utilization equipment often results in high energy consumption and low resource utilization, which wastes limited natural resources. Thus, the government and relevant authorities should replace outdated equipment and compensate companies for the replacement cost. It is well known that the development and diffusion of future green technologies cannot be achieved without the support of human capital. In this respect, G7 countries can cultivate specialized talents for eco-innovation to counteract the ecological crisis. (4) The outcomes further unveil the positive effects of population aging in G7 countries. Aging is both an opportunity and a challenge. Countries should seize the opportunity introduced through the aging era and make efforts to promote and adjust the upgrading and transformation of industrial structures. Pollution-intensive businesses should be outpaced by healthcare markets and social welfare businesses that serve the elderly. Countries should develop a social economy that focuses on the elderly market and strengthen the development and operation of environmentally friendly tertiary industries. In addition, policymakers should encourage young people to learn from the resource-saving consumption patterns and environmental concepts of the elderly. At the same time, society should protect and safeguard the fundamental interests of the elderly, such as labor force participation rate, pensions, and elimination of age discrimination and inequality.

Limitation of the paper

It is necessary to present some limitations of this study. For example, our study sample covers seven countries from 1970 to 2017. Considered comprehensively, these seven countries are significantly representative of developed countries and meet the requirements of high aging, abundant natural resource reserves, and developed technological tools. However, from the perspective of aging, these seven countries are not the top countries in the world with the highest degree of aging. Therefore, in the subsequent study, we will focus on some of the economies with the highest degree of aging to analyze the environmental consequences.