This definitely *is* the goal, and people who imagine automation destroying lives and healthy job prospects don't understand economics. This is a symptom, not a cause. You don't blame the firemen for the fire, and you don't blame automation for unemployment, despite the obvious correlation between the two.
This should be obvious, since if you take away technology's elimination of jobs from human development, we're all living like cavemen, all working hard, but all working on food, shelter and clothing, and still starving to death and dying from exposure and all the jobs and lives we have now wouldn't be possible. Technology eliminating jobs is as old as technology itself, and it's part of the most important good an economy can bring to our lives. The mistake that's being made here is equating unemployment with job elimination. They're not the same thing, and they have vastly different causes and effects. Job elimination is progress, is good for economies and people, and is caused by technological advancement. Unemployment, is bad for economies and people, and it's causes are economic and political. Technological advancement aids by providing the constant elimination of jobs, but under a properly functioning economy jobs that are eliminated inevitably result in others being created. Technology can no more cause unemployment than bringing water home from the beach and flushing it down the toilet can lower sea level. To think it can is to not understand the whole picture of how things are connected.
Our current problem is that our economy is being operated extractively, allowing people to make money from owning things instead of working. This is breaks economies and destroys jobs, and is bad for people who have to work for a living. Our problem is an economic one, not a technological one, and it's relatively easily fixable, but the fix requires the political will to take wealth and power from the wealthy and powerful, and that's not something that comes about easily.