Conversely the phalanx was practically a superweapon of hand to hand combat against the enemies of the time. As a soldier in Alexander's army's you were in relatively little danger provided the phalanx held - this is also true of the Roman legions.
Battles for a soldier were a few minutes of danger, followed by being pulled to the back of the line to rest and recover in relative safety: which makes sense of course. Anyone who's ever tried boxing knows how exhausting it becomes very quickly.