Meeting and liking people who were really different from me, with mindsets completely different. The kind of people I would previously judge as "dumb" were suddenly teaching things that improved my life. For example, my beliefs are science-oriented, and I am very skeptical, but now I have close friends who are esotericists, and I really enjoy passing time with them.
The book "The Courage To Be Disliked" by Ichiro Kishimi and Fumitake Koga. Help me a lot to understand myself and my insecurities.
Sometimes you just need to let it go, choose peace over proving something. Occasionally I still get caught up in something but it is very rare nowadays.
Is it that you think you are smart, or smarter than the others? Is it about your deeper knowledge about a few specific subjects that interest you but not others?
I've been and am in this trap. I think I am not dim. I doubt it's genetic, because I have living relatives, so :) I am smart about USB-C accessories, nobody else cares. They are smart about living their lives to the fullest.
I've met people that are about my intelligence, who have been better educated than me, and they think they are fucking brilliant and it's just tiring as shit. They are insufferable to be around. Honestly I think a lot of silicon valely/tech bro people are a fucking chore to deal with because they have this "I'm so smart" attitude.
If you want to check your ego, try to prove yourself wrong, test theories, talk to people to get their perspective and actually try to understand them. At some point you realize how much you don't understand about the world, about other fields, and about other people's experience.
i still, deep down, identify as being "smart". i don't like being wrong, and it's my go-to ego lick at work, "well bad thing x may have happened, but at least I'm still valued for being smart". it was my label in high school that i've never quite shed.
obviously now i have so many more facets - father, husband, leader, writer/reader. Smartness is just raw horsepower, it's what you do with it that matters. And there's lots of kinds of "smarts". As an example, my wife wasn't the traditional "book smart" but she's emotionally & street smart - knows how to get things done, how to think on her feet, etc.
but still despite that increased richness from life experience, I'm still "smart" and hold on to it