Victory and defeat are common in warfare; how can one doubt their abilities because of a single failure? A mistake is a mistake, a loss is a loss, it doesn't matter. Keep pushing forward, and remember to summarize the lessons learned and correct the errors next time.