It's One Way to Learn
That way, you don't have to repeat their mistakes and suffer their consequences. You learn a hot pan burns the hard way but how much easier it is to learn it without suffering the burn? Sometimes, in life there is no other teacher than direct experience. Some of us can't learn from other's mistakes but must rush out and make our own and even then, some of us repeat the same mistake over and over again.