Yahweh speaks of his word as if it were a person whom he sends out as his messenger to accomplish a task. (See: [[rc://en/ta/man/jit/figs-personification]] and [[rc://en/ta/man/jit/figs-metaphor]])
Here the description of the word returning to Yahweh means that it has completed the task that Yahweh had sent it to complete. That it will not return "empty" means that it will not fail to accomplish its task. Alternate translation: "it will not fail to complete its task" (See: [[rc://en/ta/man/jit/figs-explicit]])