The British Army had the advantage of having more ships and weapons than the Continental Army.
It provided water for every need the Egyptians had from transportation,food,water and clay for building it would take care of them and was the only river around that could provide as it did