Electronegativity is the tendency of an atom to attract electrons. ... The greater the affinity for electrons, the greater the ionization energy needed for electron removal. So atoms with greater electronegativities also have greater ionization energies, and their trends follow the same pattern on the periodic table.