The correct term is undermining it, with tilde. It means weakening, dig, leave without support or defense. Inflection of undermine.