My ex-boss used to say (and I think it’s true) it’s much better to work with a good team at a bad job, than a bad team at a good job.
If you need the regular hours for your mental and physical health, though, that is more important. And an unknown group of people isn’t necessarily a bad group of people, maybe they will also be great.