There are multiple reasons why startups fail. Some of them are:
- Product-market fit: Is there demand for our product? Is the timing for our product right?
- Customer acquisition: How can we make customers know that our product exists? How much does it cost to acquire a new customer (through ads, etc.)?
- Market size and profitability: Is the demand and profitability for our product sufficient to sustain a business?
- Building a viable product within the constraints of the runway capital (Uber for dog walking is not as capital intensive as building a self driving car fleet, for example)
1) It has nothing to do with the economy and everything to do with whether people love your product and you have product-market fit. Getting to that point takes time and mostly companies run out of money before they get there.
With regard to 2), if that's indeed how VC works, then YC just needs to fund every company. There's no need to do vetting if you are guaranteed to fund the next FB and the earnings will outweigh all operational expenditure on non-FBs.
1) People would definitely love a machine that prints gourmet food for them in their house, but it's really difficult to do that. It's so difficult that the amount of money it would take to make such a machine is pronably greater than all of the money in the world. This is what I mean by "the economy has a cap on the number of new ideas that can be funded"