"Drain the swamp" originally means to get rid of the malaria-carrying mosquitoes by draining the swamp. Figuratively, "drain the swamp" means "to exterminate something that is harmful" or anything that most of the people hate such as corruption or government waste. This term is especially attractive for politicians during campaign.
vow to drain the swamp in Washington DC
vow to drain the swamp of big government