@togetherwecode Bold of you to assume we work at companies where our decisions have consequences. ;)
... no, more seriously though: there's some wisdom here. If the company is too big, it may take a significant fraction of your career to get to a place where you have enough agency to make decisions with consequences (as opposed to "How do I implement this function my boss told me to implement?"). If the company is too small, engineering decisions take a back seat to issues like market unpredictability and company death by economic recession.
The sweet spot to apply point 1 of this advice is somewhere in the middle.