Allegedly the only way to get rid of imposter syndrome is to just... do your work/stuff until it goes away.
I've been at the same job for 9 years, but I don't feel any more capable than at the start. I still have no idea what I'm doing while being sure others are constantly judging me. Any day my manager will take me apart to put me on a PIP or outright fire me. I've "known" this for years, and I'm as convinced as ever that it will happen eventually, soon even.