If the population is declining, it's not a problem that the economy is also shrinking, assuming the rates are equal. What matters is GDP per capita not decreasing, it doesn't matter if total GDP decreases because the population shrinks.

The only real issue is the demographic shift - and old people will bear the brunt of that, not younger ones.