The individual atoms of a molecule play only a part of determining wether or not it is combustible. A big part is also played by the bonds between the atoms of the molecules.
Consequently, we can have two very reactive substances (hydrogen and oxygen gases) combining to form a very stable substance - water.