Noble gas electron configuration can be achieved by simply sharing valence electrons. If the atom obtains less than 4 electrons, it is most likely to give those electrons away and become an electrically charged ion. If it obtains more than 4, it will share the electrons and reach noble gas configuration.