This is not necessarily true. Well-being depends almost fully on your team and immediate manager which will be roughly the same size in both. Having a small group might even exacerbate anxiety, larger companies give you the advantage of easily changing teams when it’s not working.