The calculated electron gain enthalpy values

The calculated electron gain enthalpy values for alkaline earth metals and noble gases are positive. How can you explain this ?

Due to completely filled s-subshell in alkaline earth metals and completely filled valence shell(i.e., octet) in noble gases, they are highly stable. Hence energy is required to add an electron i.e., their electron gain enthalpy values are positive.