A big mistake
"Oh, that was a big mistake" could (could) be a sentence said with great joy.
When the consequences are somewhat reversible, and the learning far outweighs those: Then yes. We get to claim the learning, know more, and look forward to the next opportunity.