Which of the following are factors that promote mental health?