Molecules can have bond dipoles but overall be nonpolar if the dipoles cancel out.
Classic example is CO2. O=C=O
Oxygen is more E.N. compared to C, so there is a bonding dipole. However, the molecule is linear, and the two dipoles from the two bonds cancel each other out, as they are pointed in exactly opposite directions. Therefore, CO2 is nonpolar because of the symmetry