The historical solution (eg in the context of manorialism) was that if you couldn't afford to have a family, you didn't (and if you did, the kid got shunted into a monastery or the equivalent and was prevented from reproducing), so the "surplus" peasant population effectively shrank, and the English lower classes ended up being the descendants of downwardly-mobile gentry, who mostly found employment in different sectors.
That solution breaks down in the context of modern welfare systems.