Replacement can also become a compulsion however. If you get a negative thought you want to stop having, replacing it with another will only make that negative thought more important to your mind, as it will be considered something to be avoided. I recommend doing CBT instead of following the advice of NYT articles.