People are happier in a job when they have the freedom to walk away from it (and still afford to live). Typically this is because they have skills and experience that are in demand, so they can easily find another job to pay rent.
Unskilled workers don't have this freedom because they need their boss more than their boss needs them. Hence unions are necessary.
Universal basic income would give this freedom to everyone.