A simple way to deal with imposter syndrome in tech is to stop conflating intelligence and knowledge. Someone knowing a lot of details about an area doesn’t make them smarter than you.
Their experience is valuable but you can learn and acquire experience just as well as they can