Sirach 19:22

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

Sirach 19:22 In-Context

20 The fear of the Lord is all wisdom; and in all wisdom is the performance of the law, and the knowledge of his omnipotency.
21 If a servant say to his master, I will not do as it pleaseth thee; though afterward he do it, he angereth him that nourisheth him.
22 The knowledge of wickedness is not wisdom, neither at any time the counsel of sinners prudence.
23 There is a wickedness, and the same an abomination; and there is a fool wanting in wisdom.
24 He that hath small understanding, and feareth God, is better than one that hath much wisdom, and transgresseth the law of the most High.

The Brenton translation of the Septuagint is in the public domain.