I also need to address that immigration can only solve the workforce shortage for as long as there are poor countries with high birth rates and weak economies. It’s not an infinite solution eventually, even Africa will face declining birth rates
However, immigration can still be used to slow the fast inversion of the social pyramid. This way, we can maintain a healthy labor force to care for the elderly until Gen X and Millennials (AKA us) pass away in the next 50–70 years
The long-term solution will require a complete societal reform. It's clear that we can no longer be driven solely by economic growth. Countries will need to learn how to handle declining GDPs. Since social security, as we know it, will eventually cease to exist, economies will have to be based more on savings than spending.
Do I think any of these reforms will happen in my lifetime? Of course not! So I just want some immigrants to work for me before I die. The rest of Gen Alpha and Beta in the world can figure it out a solution when their time comes, lol