As the developer tooling improves and parts of my job get easier, I sometimes think I may be out of a job someday. But then I talk to some users or other non-devs about technical issues and realize I will always have a job.
The delta in technical expertise between the average
dev and the average user is so large that there will always be economically viable ways for the dev to spend their time.