indeed we certainly can learn from a mistake we have experienced. because of a mistake we have experienced, of course we will not do it again. because we don't want to make that mistake a second time.
If we can take the experiences that we have experienced. but not infrequently there are people that fall on the same hole. Perhaps because he didn't notice that earlier experience that will result in us being able to fall on the same error.