Ecclesiastes 6:3; Ecclesiastes 6:6; Ecclesiastes 7:12; Ecclesiastes 11:8

3 If a man fathers a hundred children and lives many years, however many they be, but his soul is not satisfied with good things and he does not even have a proper burial, then I say, "Better the miscarriage than he,
6 "Even if the other man lives a thousand years twice and does not enjoy good things -do not all go to one place?"
12 For wisdom is protection just as money is protection, But the advantage of knowledge is that wisdom preserves the lives of its possessors.
8 Indeed, if a man should live many years, let him rejoice in them all, and let him remember the days of darkness, for they will be many. Everything that is to come will be futility.