In the past it actually took a generation or two until new jobs appeared and many people’s life were destroyed by automation.
Actually way more, it took 80 years in the first industrial revolution and 70 years + mass exodus to the americas when machinery appeared in agricultural fields.
Yes, it will be painful, but there will be jobs. I predict the younger generation will likely be better suited to adopt to this new world, because it will be easiest for them to start from scratch at a new paradigm, and less for them to lose by doing so