Sirach (Ecclesiasticus) 14:21

He that considereth her ways in his heart shall also have understanding in her secrets.

Brenton's English Septuagint