If a person went outside the gate when bandits and marauders were roaming about, he could be robbed or killed.
فِي أَزْمِنَةِ ٱلْكِتَابِ ٱلْمُقَدَّسِ ،‏ كَانَتِ ٱلْمَدِينَةُ ٱلْحَصِينَةُ تُؤَمِّنُ ٱلْحِمَايَةَ لِلنَّاسِ شَرْطَ أَنْ يَبْقَوْا دَاخِلَ أَسْوَارِهَا .‏