It would depend becuase alot of villages in Egypt had a river runing through it so any invaders could follow the river and be led right to a village, but any village or city that is in the middle of the desert could easily be one of the hardest things for invaders to attack due to a few reasons, One would be lack of water and major armor, being at the time armor was either animal pelts or lether binded chain so it made them quite dire for water.
Hope this helps.