The word "spirit" is a synecdoche that refers to Job as a whole person and means that he has no physical strength left. Alternate translation: "I have no more strength" (See: [[rc://en/ta/man/jit/figs-synecdoche]])
This phrase describes "the grave" as if it is a person who will receive Job as a guest. Alternate translation: "soon I will be dead and buried" (See: [[rc://en/ta/man/jit/figs-personification]])