That's not surprising. Infinite growth is physically impossible and we are just seeing the end of it. We have to shift our economy and planning from a growth driven mindset to a sustainability driven one.
Most likely, our environment is going to become uninhabitable within 50-100 years, causing our population and societies to collapse, and while a few of us may persist in some domed cities for a bit, instead of building more technology to move offworld, we'll have a big religious war and then go extinct. Hopefully, some other species will eventually evolve to become intelligent and do much better than we did.
Checkmate.