My perspective (so far) is that it was probably never a good thing for me to tie up my identity/sense of self in my ability to write moderately clever and generally mediocre code.
I do still enjoy writing my moderately clever and generally mediocre code, and for the sake of my sanity, I'm trying to do more of it.
But either way, I don't think it was never a good viewpoint to make me self-conception pivot around my ability to be useful by writing code, and maybe it's a good thing that LLMs have crushed my ego on that front.