The best reason for viewing mistakes as opportunities is to

avoid guilty feelings.
have an excuse.
prevent future errors.
maintain a positive attitude.