The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 21
1He who is not clever will not be instructed. There is a cleverness which makes bitterness abound.