Yes, but counterpoint - code duplication is also the wrong abstraction.
Pro tip - which is the least bad abstraction? Answer: it depends!