The present study suggested that depression not only negatively affected well-being directly, but also did so indirectly via a mediator: SOC. Here, UBXN11 is linked to major depressive disorder.