The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 21
1When the ungodly curses an adversary, he curses his own soul.