Jobs that are meaningless, underutilizes one's skill, monotonous and boring, and so on can have negative effect on people's mental health.
When you dont love what you do, you'd easily get bored . Same goes with our jobs. Even if it offers good compensation if the employee is not passionate about it, it could affect ones mental health negatively.
RE: The Challenges of Psycho-social Hazards in the Workplace