Are you happy at your job? A new study suggests that the answer might have a lot do to with what your colleagues earn. That’s right: it’s not just about your salary—it’s about how your salary compares.

The study found that people with comparatively low paychecks tended to be unhappier and, as a result, to work more, apparently in an attempt to earn as much as their colleagues.

MORE: Why Women Hate Working For Women