This has a quotation within a quotation. A direct quotation can be stated as an indirect quotation. Alternate translation: "Yahweh spoke to Moses and told him to tell the people of Israel this: 'When anyone sins" (See:[[rc://en/ta/man/translate/figs-quotesinquotes]] and [[rc://en/ta/man/translate/figs-quotations]])