Things that hurt us teach

Very similar to Nietzsche's "That which does not kill me makes me stronger." Pain is gain. The concept that suffering, in and of itself, betters a person.