Failure to pass an exam or selection; rejection or disqualification for not meeting required standards.
大学入試で不合格になってしまった。
I failed the university entrance exam.
書類選考で不合格のメールが届いた。
I received an email saying I was rejected in the document screening.
不合格でも次回に向けて勉強を続けよう。
Even if you fail, keep studying for the next time.