You may need to fill in the omitted words. Alternate translation: "You may say to yourself, 'A little sleep ... to rest'—but then poverty will come" (See: [[rc://en/ta/man/translate/figs-ellipsis]])
Some translations read, "poverty comes upon you like a robber." Poverty is spoken of as if it were a person or animal that can attack a lazy person. (See: [[rc://en/ta/man/translate/figs-personification]])
Needs are spoken of as if they were a person who could attack the lazy person. Alternate translation: "your needs will come to you like an armed soldier" (See: [[rc://en/ta/man/translate/figs-simile]] and [[rc://en/ta/man/translate/figs-personification]])