Large companies some of the above can still remain true, you get job security through company stability, total comp packages can be much higher and more reliable. Company budgets are bigger so your products can sometimes have a much larger customer impact globally. More availability to move between teams and meet new coworkers or switch offices without much risk.
Medium sized companies are my favorite where the hair on fire foundation was already laid, product market fit is establish, but company is still private and growing quickly. Less risk here but still decent upside and less of the large company regulatory and compliance annoyances that impede velocity.
And in my experience sometimes the size of the company has less to do with quality of life than work culture.