A failure, or two, or more is not the end of the world. Just like a light drizzle, a down pour, or a storm is not the end of sunshine. Rest assured, after the storm, the sun will shine again. Thus, after a failure, you will get back up and grind again.
Never allow yourself to fall down and stay down. GET BACK UP!