Trying to get rid of habitual states of mind without having seen into your own nature is like trying to get rid of a dream while asleep. The desire to dispel the dream is just part of the dream. Knowing that it is a dream is also just part of the dream. It doesn't matter how much you search for something in a dream, you will never find it.