separate the men from the boys
Distinguish between mature, experienced individuals and novices, as in The picket line will separate the men from the boys in the union. The idiom is used without respect to gender. [c. 1930]