Find a team where you are a specialist, you'll earn a higher hourly rate and probably have a lot less stress.
Try to pair up with a few different groups until you find one that you love, then stick with that one.
Source: I did a lot of freelancing in the 2000's before joining up with a larger consultancy and the latter earned me probably 3x hourly rate, the projects were more interesting for bigger companies, and the coworkers became friends for life.