Sirach 22:11

Weep for the dead, for he has left the light behind; and weep for the fool, for he has left intelligence behind. Weep less bitterly for the dead, for he is at rest; but the life of the fool is worse than death.