The Byzantine Empire had powerful and well-fortified cities, but the countryside and the outlying islands were ravaged by waves of invaders.
The Byzantine Empire was not concerned about the areas outside of the cities.