Commentators explain that the 'exceeding joy' Job describes is not a love for death itself, but a powerful expression of his immense suffering. The relief offered by the grave seems so great that finding it would be a cause for celebration. As Albert Barnes notes, it's a striking picture of how deep sorrow can make the tomb seem like a welcome friend.