Small villages with narrow cobbled streets sit among them, built inland to offer protection against pirate raids.

Does it follow that "Small villages are left completely at the mercy of the many pirates who can easily raid them."?
no