Cognitive factors and resilience: how self-efficacy contributes to coping with adversities · Study