Root (something) out root out (something)

To get rid of something completely.

The new city government is trying to root out the wasteful practices of the previous government.