The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 30
1Love your own soul, and comfort your heart. Remove sorrow far from you, for sorrow has destroyed many, and there is no profit in it.