fallacy of composition
Reasoning that what is true of each part must be true of the whole.
The fallacy of composition concludes that a whole has a property because each of its parts has it. Some properties do pass from parts to wholes, but many (being light, being cheap, being small) do not.
Examples
"Every player on this team is excellent, so the team is excellent." Players who each shine can still play badly together.
See also