Additionally the line is spoken by a character who lives for over 2000 years.[1]
Maybe the quote would make a bit more sense in context.
"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects."
Heinlein is wrong on this and a specialist himself: a writer who requires other specialists to meet his every basic need (water, food, shelter...).
Don't dismiss specialization as it is the key to both past and future success.