proverb

Experience is the mother of wisdom.

experience

means that

People learn and become wise from what is happening to them.