I think you are being pessimistic. We have not yet reached the tipping point where a collapse will occur. Until it happens, there is hope. We have artificial intelligence and extreme automation on our side and in fifteen to twenty years AIs could bw telling us how to fix all of it.
Do not lose hope.