In ancient Biblical times, a wall was the best means of protection, Ezekiel 22:30.
If there was a breach in the wall, the defenders would have to swarm to that location and hold the breach. If a breach was left unattended or un-repaired,
the city could fall!