Anaphora is a rhetorical device where the speaker repeats the same word or phrase at the beginning of successive clauses, phrases, or sentences.
The example you provided describes a different technique, which is called epistrophe.
Epistrophe is the repetition of a word or phrase at the end of successive clauses, phrases, or sentences.
Here are some examples:
Anaphora:
* "We shall not fail. We shall not falter. We shall not yield." (Winston Churchill)
* "I have a dream that my four little children will one day live in a nation where they will not be judged by the color of their skin but by the content of their character. I have a dream that one day on the red hills of Georgia, the sons of former slaves and the sons of former slave owners will be able to sit down together at the table of brotherhood." (Martin Luther King Jr.)
Epistrophe:
* "Government of the people, by the people, for the people, shall not perish from this earth." (Abraham Lincoln)
* "The time for the healing of the wounds has come. The moment to bridge the chasms that divides us has come." (Nelson Mandela)
Let me know if you have any other questions!