It’s generally best to learn from other people’s mistakes, while making very few of your own. But it’s also true that life would be less interesting if you had a perfect record.
And some good things can come out of some of the mistakes we make. Even if you had what seems like a perfect record, it probably wouldn’t be as perfect as you think it is, because you’d never know what you might have missed out on. You wouldn’t know what mistakes might have produced something great.