Thank you for this. I personally know many people in the tech industry going through this. (Including myself in the past.)
I "cured" myself by focusing on niche industries and learning almost everything about them. This really helps. Otherwise, a generalist always feels many things are missing.