“If you’re the smartest person in the room, you’re in the wrong room.” I know saying this is easier than doing it, but; seek upward movement until you no longer feel like you're the smartest person in the room. I would also add, although it's purely personal opinion, that seeking a solution to loneliness through work is a surefire way to feel more lonely. You say you're big on self-improvement, but are you only focus…
I've thought about this. I actually do not think I'm the smartest person in the room, hell two of the people in my direct team are definitely smarter than me. I think I have really good systems that allow me to consistently solve problems and write code. On the loneliness front, I meant in the scope of working. I have four kids, I am everything BUT lonely with them. However, I do agree that aside from work and one of…
Work isn't everything. If you start working on your health, it will improve your mood and outlook. My guess is, you have an introverted personality and occasional feelings of isolation are just part of it. Try to accept it rather than fix it, because you might find that if you did have peers, that would have its challenges too.