I feel like a great deal of melee warfare involved group A smashing itself upon group B. Phalanxes, as I understand it, were effective because they were particularly good at this part. So given that we already had lots of other varieties of troops throwing themselves at the spears, why do we doubt that other phalanxes would specifically be unwilling to do the same?