There might be some tendency, when you feel small, to feel bad about feeling small — as though it is further evidence of your worthlessness — and that itself makes you feel worse, and down the spiral you go... Been there (:
But if you make space for (or even _welcome_) those feelings, even if you don't like them, then in my experience you end up at a better place.
I only mention this because you seem to be beating yourself up about this ("I feel shallow/dumb"). You can feel bad and still be a good person; it's an easy mixup to make.
(I am reminded of this funny image: https://i.redd.it/9ubhqov2u9k01.jpg [1])
Also, not that this makes your feelings go away, but looking at people who are rich/smart/influential/famous is looking at outliers, and people who likely had a lot of luck in their background, upbringing, genes, education, being-in-the-right-place-at-the-right-time, etc. etc. to achieve their success, on top of their hard work. For every succesful indie video game, there are 1000 people who worked just as hard on theirs but didn't get a big break. The same is true in all sorts of areas of life, big to small. And just in general, FWIW, I don't recommend judging your self-worth by comparing to others, whether they're outliers or not (:
But sorry you're feeling down; *internet hug*.
[1] (in case the direct link dies) https://old.reddit.com/r/wholesomememes/comments/82lny8/i_wa...