I started predicting a near future of software-induced permanent structural unemployment ~15 years ago on this and other discussion platforms, only to be deluged with "but, but... buggy whip manufacturers!!!!!!"
It's inevitable. It's not that there won't be any work. It's that there won't be enough work 8 billion humans are capable of doing or reskilling to within their lifespan, and the wages for the remaining unskilled labor will collapse below survivability.
The problem with a "knowledge economy" is that automation can basically take over 95 percent of it. You need a balance of services and manufacturing and agriculture, and the first world knowledge economies have been outsourcing the later two to cheaper third world countries and teaching their youth that getting their hands dirty is beneath them. Anytime someone brings up plumbing or welding or some construction work, there's a group here that always responds with "Back-breaking! No! Undignified!".
Fine. So starve then. You're not getting your UBI or a lifetime welfare state. So I suggest you learn a skill that can't be replaced with a glorified Google script, or hope your parents have saved enough money to support you on their couch while you protest the indignities of spreading drywall or operating a backhoe.