Wisdom 1:5

5 For the holy spirit of discipline will flee deceit, and remove from thoughts that are without understanding, and will not abide when unrighteousness cometh in.

Wisdom 1:5 In-Context

3 For froward thoughts separate from God: and his power, when it is tried, reproveth the unwise.
4 For into a malicious soul wisdom shall not enter; nor dwell in the body that is subject unto sin.
5 For the holy spirit of discipline will flee deceit, and remove from thoughts that are without understanding, and will not abide when unrighteousness cometh in.
6 For wisdom is a loving spirit; and will not acquit a blasphemer of his words: for God is witness of his reins, and a true beholder of his heart, and a hearer of his tongue.
7 For the Spirit of the Lord filleth the world: and that which containeth all things hath knowledge of the voice.

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