Very good! If Atom A takes $$1$$ electron from Atom B, then, A will have $$8$$ electrons, yes. But, Atom B will have $$7$$ electrons. Atom B won't like to share the electron with Atom A because it had already achieved its goal of having $$8$$ electrons in its outermost orbit.