It was clear to me even before ChatGPT arrived that software was eventually going to go the same way agriculture went. We will simply need fewer people to do the job than before.
I don't buy that AI will completely automate away all software engineering. I think if you're not in the top ~40% skill wise, you're in serious trouble and have a bleak future.