zì​bào​zì​qì

self-abandonment

自暴自弃 (自暴自棄) zì​bào​zì​qì
self-abandonment idiom
to give up on oneself, lose self-respect, and stop striving for improvement due to despair

Even though you didn't do well on the exam, you must not give up on yourself.

Frequency

Movie subtitles
1.49 per million appears in 1% of films
Written text
1.14 per million

Sources

Definitions
CC-CEDICT