If you punish people for being wrong, they cover up their mistakes. They make excuses and throw blame to justify the past.
If you treat being wrong as a learning opportunity, people admit their errors. They take responsibility for correcting and preventing them in the future.