Your code should be WET before it’s DRY (Write Everything Twice).
My brain has a tendency to desire refactoring when I see two similar functions, I want to refactor--it's almost always a bad idea. More often than not, I later find out that the premature refactoring would've forced me to split the functions again.
1: https://en.m.wikipedia.org/wiki/Rule_of_three_(computer_prog...
DRY when it's a wielded as a premature optimization (like all other premature optimization) prevents working code that is tailored to solving a problem from shipping quickly.
And if you only need the code twice, you very likely wasted time writing the abstraction because copying updates between the two locations is not hard.
This is a rule of thumb, I’m not trying to tell anyone how to do their job.