To undermine someone means to betray them or weaken their efforts or authority.
The documents helped to undermine the workers’ trust in their bosses’ honesty.
Example picture