Full Idea
My programme: do away with punishment: for us. Counter-retribution is nonsense. (If something is evil, then whoever performs the counter-retribution is certainly committing the same evil).
Gist of Idea
Do away with punishment. Counter-retribution is as bad as the crime
Source
Friedrich Nietzsche (Unpublished Notebooks 1881-82 [1882], 16[17])
Book Reference
Nietzsche,Friedrich: 'The Joyful Science, and 1881-82 fragments (v 6)', ed/tr. Del Caro,Adrian [Stanford 2023], p.455
A Reaction
Note that he seems to have a perfectly orthodox concept of 'evil' here. I don't think he ever suggested a strategy to replace punishment.