Sirach (Ecclesiasticus) 50:28

Blessed is he that shall be exercised in these things: and he that layeth them up in his heart shall become wise.

Brenton's English Septuagint