It is common to have losses in life. But losses do not equal failures. Failure is to let your losses to stop you from pursuing the same goal. Losses are about matters. Failures are about you.
There is an old Chinese saying, "Failure is the mother of success."