No, they did not think of spirit as something immaterial. That's why they likened it to breath. The idea of something wholly immaterial comes from Hellenic culture."God is a Spirit: and they that worship him must worship him in spirit and in truth." (John 4.24)
The Jews might not have had the word "metaphor," but they possessed the concept.
Upvote
0