Sirach (Ecclesiasticus) 27:12

If thou be among the indiscreet, observe the time; but be continually among men of understanding.

Brenton's English Septuagint