Sirach (Ecclesiasticus) 38:20

Take no heaviness to heart: drive it away, and remember the last end.

Brenton's English Septuagint