Fetching details from the dictionary...

to be violated; to be corrupted; to be polluted; to be stained
白い服が泥で穢れてしまった。
My white clothes got stained with mud.
心が穢れないように生きたい。
I want to live so my heart stays pure.
穢れた水を浄化する装置がある。
There's a device to purify contaminated water.