What is anaphora?
It is deliberate repetition of the first part of the sentence to achieve artistic effect.
example
“Five years have passed;
Five summers, with the length of
Five long winters! and again I hear these waters…”
Five summers, with the length of
Five long winters! and again I hear these waters…”
explanation
The repetition of the word “five” at the beginning of each line gives melody to the lines that matches well with its nostalgic tone. (Shmoop.com)