Making mistakes is just fine, as long as you accept that it was a mistake and try to make amends. The key here is ‘accepting’ and ‘acknowledging’ the mistake. Without that, you cannot go any further. And, for that you have got to be honest to yourself.
Anyway, all this was only a primer to a great article – 10 lessons from a failed startup
Read and learn.