The very real threat of an enemy attack forced the builders of Jerusalem's wall to drastically alter their daily routine, merging the heavy labor of construction with constant military readiness [מצודת דוד]. Following rumors of an impending assault, Nehemiah's personal servants, who were mighty warriors that had traveled with him from Babylon [ביאור שטיינזלץ], divided their forces. Half of these men dedicated themselves to building the wall, while the other half stood fully armed to protect their working brothers [רש״י].
This specific division of labor among Nehemiah's men was necessary because of their specialized military equipment. As skilled fighters, they carried heavy weapons that required the use of both hands, such as wielding a spear and shield simultaneously or drawing a bow. Furthermore, it was physically impossible to perform manual labor while wearing heavy iron armor designed to deflect sword and spear strikes [מצודת ציון]. Consequently, this elite group had to separate into full-time builders and full-time guards [מלבי״ם].
Meanwhile, the leaders of the people took up strategic positions. The primary approach among commentators is that these leaders stood directly behind each tribe and family, actively guarding them and maintaining constant readiness for battle [רש״י, ביאור שטיינזלץ, מצודת דוד]. Another perspective suggests that the leaders were responsible for holding the extra shields, bows, and armor right behind the workers, ensuring the gear was immediately accessible the moment a conflict erupted [רלב״ג].
Drawing a sharp contrast between Nehemiah's trained warriors and the general public, a different viewpoint explains that the leaders and the rest of the house of Judah did not divide into separate working and guarding groups. Because they lacked advanced military training and heavy equipment, they remained clustered together in the most vulnerable sections of the wall. There, they worked on the construction with one hand while holding a simple weapon in the other, fully prepared to fend off any approaching enemies [מלבי״ם].