The lagoon was settled in Antiquity, and in the 600s, there were numerous known towns, and several important cities. Venice, however, was not one of them.
In late Antiquity the north-east of the Italian peninsula suffered many invasions. The wars caused people to move to the safer lagoon areas, and hence to the foundation of Venice.