Context: Y has just told X that he/she is considering switching his/her job.

X: Would you be happy to take a pay cut?
Y: If it meant improving my overall mental health.