Sirach 38:20

Do not give your heart to grief; drive it away, and remember your own end.