Sirach (Ecclesiasticus) 19:22

The knowledge of wickedness is not wisdom, neither at any time the counsel of sinners prudence.

Brenton's English Septuagint