The Octet Rule
Once we get past hydrogen, the s and p outer orbitals have room for 8 electrons.
Each Cl brings 7 valence electrons for a total of 14. By sharing two electrons and leaving the remaining 12 in 6 lone pairs we make a Cl-Cl covalent bond. Each Cl has 8 (an octet) electrons around it.