Life is full of choices. You will make some wrong decisions, but if you learn from them, they can sometimes be considered good decisions.
Learn from your mistakes. You spend time to gain experience. To convert experience to wisdom is the meaning of life.