Something that might help is to cultivate a list of developers who you respect and make sure to follow what they do. (Eg. I personally recommend following Theo or Primagen on social media) this helps alot with not feeling alone and with keeping your sights and standards high. You have to learn to not see what’s around you as the norm.
Above all, make curiosity the foundation of your coding routine and your career. I know that sounds cliche but if you can tap into the joyful energy of curiosity then you will have superpowers and will have meaning in your life even if you’re broke and alone.
The grass is always greener on the other side. I promise you the work at these "high-quality" places is no more glamorous than that being done at other places.
Maybe the position at the other firm, although smaller, might end up being a different, maybe even better experience?
If you don’t like your slate of opportunities as a new grad, then get out there and network with your cool friends.