Everything isn’t unaffordable. Living at a high quality of life with iPhones and Uber eats might be unaffordable in certain cities. But the basic costs of having a family (food, shelter, etc.) are probably cheaper today than at any time in history.
I don’t think people understand how poor the average person was even a century ago.