Examining the relationship between hopelessness and depression