Well, when the gap is not that big, it's not much of an issue.
I sincerely wish that I got to be around more people who are significantly brighter than me, but due to not being in a specialised professional work environment, or education institute, this is not the case.
85-90% of the time, I'm the brightest in the room, and amongst my "peers". I'm not very bright, by my own standards, so this fact does not bode well for humanity.
All this week, for example, I have been in a training course to qualify in Care. Not a typical INTP job, but I'm trying it because there is a staff shortage in the UK, and I'll spend a lot of time alone and managing my own schedule (pro INTP things).
However, the class I'm in is full of dumbass, tedious, ESF types.
Their brains move so slow, I often fantasise about possessing a gun, and blowing my brains out, each time they ask for very simple concepts to be repeated infinitely.
I hate group work which isn't split into different abilities. Kill me now.
Anyway, ESFs make up the majority of the population, suffice it to say, I think they are all cognitively challenged, and they have zero business bugging me with their irrelevant bullshit.
I avoid dumbasses where possible, although I'm stuck with family , and some long time friends , my dumbass friends must make up for their dumbass natures by being really useful to me, or hilarious.
If we're talking men, and intimate relationships... I generally prefer them to look good, say little, and do as they're told.
I struggle to find many NTs irl.