> Rooting out the practice of corruption
> Preventing to uprooting something that is harmful
This idiom originally means the draining swamps to get rid of or lowering the mosquito population
Example
Nations need to take strong actions to drain the swamps breeding terrorists.
No matter how critical it is draining the swamps would be just about impossible unless we citizens take action against it in the union.