You’ll get blindsided real quick. AIs are just getting better. OpenAI are already saying they moved past GPT for their next models. It’s not 5 years before it can fix code longer than 400 lines, and not 20 before it can digest a specification and spout a working software. Said software might not be optimized or pretty, but those are things people can work separately. Where you needed 20 software engineers, you’ll need 10, then 5, then 1-2.
You have more in common with the guy getting replaced today than you care to admit in your comment.
Edit: not sure why I’m getting downvoted instead of having a discussion, but good luck to you all in your careers.