This is precisely why it is so important to not rush through things and learn them the wrong way when practicing. The key word in the last sentence of the above Arnold Jacobs quote is gradually.
Once you have established a habit, the only way to replace it with a new one is gradually over time. Translation: it's a lot of work.
I was also always taught that the brain does not respond well to the word don't. If you write something like "Don't Drag" in your music then your brain first comprehends "Drag" which is not exactly ideal. I always have my students write the positive version of whatever they're working on so "Don't Drag" becomes "Groove" or "Steady Tempo".
Ideally, we don't ever learn something wrong in the first place because the extra time we take to learn something with slow and deliberate practice will be more than saved by not having to relearn it the right way. But if we do, rather than focusing on not doing it wrong, we need to replace it with the correct version and then have the patience to see the entire process through which will take a while no matter what we do.