It's the opposite.
Phalanxes are the kind of thing where a break in coordination by any one man results you all getting rekt. The conflict between the Greeks and the Persians is a pretty good example of what happens when you have specialized men against a much larger force of levied up men of dubious quality. The Greeks won.