Scrape the bottom of the barrel

To take whatever is left after the best has been taken.

The company is scraping the bottom of the barrel to look for new employees.