Take 2 molecules, CF_4CF4, and CHCl_3CHCl3. Both C-ClC−Cl, and C-FC−F bonds are quite polar (the halogen is more electronegative than carbon, and the halogen atom polarizes electron density towards itself. Now, FF is more effective than ClCl in this activity. Nevertheless, CF_4CF4 is non-polar, whereas chloroform is quite polar as solvents go. Why?
Molecular polarity results from the vector sum of the individual bond dipoles. When the CrarrFC→F dipoles are added, the overall vector sum is zero (necessarily, because CF_4CF4 is a regular tetrahedron. When the CrarrClC→Cl and the C-HC−H dipoles are added, the resultant is non-zero.