You're not a failure.
There are no mistakes... just happy accidents! If you disagree, take it up with Bob Ross. Failure is nothing more than an opportunity for learning. Pick yourself up and do it again. That metaphorical door didn't open? Go through the window!