I am talking specifically about one aspect of what they identified as spirit they obviously were ignorant of the scientific make up of the air we breathe , any other ancient idea of what they thought spirit was is just speculation or interpreted by some eg bible writers as supernatural.
OK. Ancient people didn't know what air was and thought it was magical. Today we know better.
Likewise ancient people , although having in their appropriate language a word for water they did not know it as hydrogen and oxygen, therefore you cannot conclude that H2o is a metaphor for water. They are the same thing.
H2O, or, dihydrogen monoxide, is the molecule of water. It's a scientific descriptor describing what makes "water" (mostly). Water was to the ancients a physical thing you can see, touch, watch freeze, etc.
Spirit was used an explanation precisely because "there is something invisible that we don't know what it is, therefore it must be spirit", not because they didn't know the chemical composition. It was a mystery. Today, since we know better, we can rightly say that in the context of breathing and air, it's a metaphor. It has nothing to do with chemical descriptors because it's no longer a mystery.