verb
corrode
kuh-ROHD/kəˈrəʊd/
To gradually wear away or weaken, especially through chemical action.
Salt water corrodes metal railings along the coast.

Etymology
Latin rodere meant “to gnaw,” with com- perhaps intensifying it to “gnaw to bits.” That image of eating something away bit by bit underlies the gradual damage described by corrode, including chemical action.
In context
water settled inside the pressure tubes of the coolant within the core and began to corrode the magnesium alloy components eventually this weakened the vital coolant channels
More examples
- The acid has corroded the metal container.
- These pipes corrode slowly in damp conditions.
- Years of dishonesty corrode trust between friends.