In the figure, you might have observed that Helium and Neon have higher ionization energies compared to the others . This means that they are-
very stable
If the ionization energy of an atom is high, then the outermost electrons are tightly bound to the nucleus. Helium and Neon have an octet configuration. In atoms with octet configuration, the outermost electrons are tightly bound to the nucleus. They are very stable and because of the octet configuration removing an electron from the outermost orbit becomes very difficult.