failure
The word 'échec' is often used in the context of not achieving a specific goal, similarly to 'failure' in English. It can be used in various situations, like failing a test ('échouer à un test') or in a project ('échec de projet'). However, keep in mind that it is also the term used for 'checkmate' in chess.
Failure is the foundation of success.
This French phrase presents a perspective that views failure not as a setback, but as a platform upon which future success is built.
He suffered a crushing failure in his project.
This French phrase could be used to describe a significant setback or failure in any kind of undertaking, suggesting a severe or humiliating defeat.
After several attempts, he accepted his failure.
This French phrase could be used in a context where someone has tried several times to achieve something, but ultimately did not succeed and came to recognize that his efforts did not lead to the desired outcome.