Proverbs 25:4-5

Take the impurities from silver and you have a metal suitable for the silver smith:

Remove the wicked from the king’s presence, and his throne will be established in righteousness.