Maybe imposter syndrome is a defence mechanism
I think sometimes imposter syndroming is intellectually safer than allowing yourself to feel any sort of confidence.
Or I guess I should say feels intellectually safer. Anyway, sometimes it feels safer not to believe in yourself than to shoot as high as you think you could and face the real possibility of failure.