NichiDict

他山の石以て玉を攻むべし

たざんのいしもってたまをおさむべし
[tazannoishimottetamawoosamubeshi]

Meanings

1.Expression

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