Great topic. We should talk about impostor syndrome much more as it really affects many of us.
I had impostor syndrome for years. For me a job change was the solution, where I was able to learn new technologies and acomplish goals which gave me self confidence again.