To weaken; to affect negatively; to have a diminishing effect on.
To weaken or work against; to hinder, sabotage.
To erode the base or foundation of something, e.g. by the action of water.
To dig underneath (something), to make a passage for destructive or military purposes; to sap.