他山 たざん石以 いしもっ たま おさむべし
ta za nno ishi motte tamao osamubeshi

Expression

1. one should learn from other's mistakes; stones from other mountains can be used to polish one's own gems — literal

Proverb
Related to 他山の石