Sometimes misattributed to Mandela, this is in fact an a statement of unknown provenance (usually attributed to an anonymous "lecturer in the university in South Africa") spread throughout Internet from around 2017. Later misattributed to Mandela by Hong Kong chief executive Carrie Lam at a press conference.
More quotes by Nelson Mandela
It is in the character of growth that we should learn from both pleasant and unpleasant experiences.
Attribution
Quote text and notes from Wikiquote: Nelson Mandela (page history), available under CC BY-SA 4.0. Source quality and labels are our own summary of what Wikiquote records.