scraping the bottom of the barrel

When you are scraping the bottom of the barrel, it means that you are selecting from among the worst and choosing from what is leftover. The phrase scraping the bottom of the barrel can be used in a variety of different situations and circumstances where you are one of the last people to get the chance to choose something, therefore get the worst choices because you only get what is leftover.