Those dwellings were built so close together that the psalmist described Jerusalem as “a city that is joined together as one. ” That enabled the inhabitants to help and protect one another.
فَلَيْسَ ٱلْوَقْتُ آنَذَاكَ لِنَدَعَ بُذُورَ ٱلشِّقَاقِ وَٱلْفُرْقَةِ تُزْرَعُ بَيْنَنَا ،‏ وَلَا لِنَلْتَجِئَ إِلَى عَالَمِ ٱلشَّيْطَانِ طَلَبًا لِلدَّعْمِ .‏