Yes it is, if we still needed 90+% of the population to work or people starved that’s a self correcting system. Less than that work and you have less people.
You can argue about all the many secondary reasons for each of the different groups (retirees, prisoners, etc), but only one thing is required for every group.