The major reason for chemical bonding is _____.

to form a substance in low supply
to use up an oversupply of atoms
for atoms to gain the stability of the octet
to produce energy

for atoms to gain the stability of the octet