3.22 What is the basic difference between the terms electron gain enthalpy and electronegativity?

Electron gain enthalpy - Tendency to gain electrons for an isolated gaseous atom is its electron gain enthalpy.

Electronegativity - Tendency to attract the shared pairs of electrons for an atom which is in chemical compound 

is its electronegativity.