Do you need a growing population if the next generations increase their productivity instead? Then what do you actually need for “social security”? If it’s a house, there will be plenty of those left over when the population declines. Maybe we get to a point where people feel secure without government assistance and the program shrinks.