きょうくん教訓kyoukun
1.

A guiding principle or insight intended to inform and influence future behavior or decision-making.

2.

The act of imparting knowledge or wisdom, often through experiences or stories that highlight important truths.

3.

A valuable piece of knowledge gained from experience that serves as a reminder for one's actions and choices.

Example:

実例は教訓にまさる。