You are correct! If a fluorine atom gains one electron, it will become isoelectronic with the inert gas, neon, and have a stable electron configuration.