Ben Sira 19:22-24

22 The knowledge of wickedness is not wisdom, nor is there prudence in the counsel of sinners.
23 There is a cleverness that is detestable, and there is a fool who merely lacks wisdom.
24 Better are the God-fearing who lack understanding than the highly intelligent who transgress the law.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.