Ecclesiastes 7:17

17 But don't be too wicked or too foolish, either - why die before you have to?