It’s a notion that explains a lot of self-sabotage. In essence, doing good (or even feeling you will be good or might have been good) subconsciously gives us latitude to make less good choices without even noticing.
On a large scale, perhaps this is why people are rightly upset about job security while using Uber to get around with nary a thought. There are lots of examples to be found, of people bemoaning the loss of or threat to what they value, as they indulge in behaviour that exacerbates the problem.
I’m not immune to this, of course. I am trying to do better though, given an awareness of how my mind may be an unintentional saboteur.