People typically feel bad about their mistakes because they are shortsighted about the bad outcome and not about the evolutionary process of which mistakes are an integral part. Every mistake that you make and learn from will save you from thousands of similar future mistakes.