undermine
Definitions
To lessen the effectiveness, power, or ability of someone or something, especially gradually or insidiously.
To erode the base or foundation of a rock formation or a physical structure.
Examples
The constant criticism from his colleagues began to undermine his confidence in the project.
Careless remarks can easily undermine the trust that has been built between the two parties over many years.