The idiom "the word of Yahweh came to" is used to introduce a special message from God. Alternate translation: "Yahweh gave a message to Samuel. He said, 'It" or "Yahweh spoke this message to Samuel: 'It" (See: [[rc://en/ta/man/translate/figs-idiom]])