The central Xe atom in XeF₂ is surrounded by 2 bonding pairs and 3 lone pairs. The repulsion of these lone pairs results in a linear shape for the molecule.