Humanity is going to survive, perhaps in small isolated pockets that never reach the potential capitalism squandered.
That being said, if I were to have a kid I’d be taking on the burden of finding a way to set them up for a good life. I don’t see a good life in near to mid term future for anyone not extremely lucky in birth circumstance.