Painful experiences can be the most powerful teacher.