chaff, separate the wheat from the

separate what is valuable from what is worthless. This expression comes from removing the chaff (the outer covering) from grain when one is making flour.