The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 39
1Good things are created from the beginning for the good. So are evil things for sinners.