教訓

きょうくん lesson; precept

Why it means this

教 (teach) + 訓 (an admonition) — the moral or lesson to be drawn from an experience.

Breakdown

Each character links to its full entry — origin story, stroke order, and readings.