Just like any word in just about any language, the word "spirit" has a sphere of meaning, and what it means depends on the context, and sometimes it could have multiple meanings within the same context.
In this context, Solomon is using "spirit" in the same way he uses "dust," as a descriptor...