Imposter syndrome is used inappropriately by most programmers for accurate feeling of being incompetent.
If you have an “imposter syndrome” - better to find out what areas you lack in and improve.
If you’re bad at your job and your brain is telling you that you’re bad at your job - take actions to improve.