Sorry. That is incorrect.

Magnetic attraction is not the same thing as Coulomb attraction (the attraction between charges), which is the source of all intermolecular attractions.