Fetching details from the dictionary...
desperation; despair; self-abandonment
失敗が続いて自暴自棄に陥った。
After repeated failures, I fell into despair.
自暴自棄になっても問題は解決しない。
Even if you give in to despair, it won't solve the problem.
友人の支えで自暴自棄から立ち直れた。
With my friend's support, I recovered from despair.