It is true that In the Old Testament, the Hebrew word for "spirit" (ruach) is feminine. But the gender of a word in Greek or Hebrew has nothing to do with gender identity.
Linguistically, it is clear that masculine theistic terminology dominates the Scriptures. Throughout both testaments, references to God use masculine pronouns. Specific names for God just to name a few were, Yahweh, Elohim, Adonai, Kurios, Theos, and are all in the masculine gender. God is never given a feminine name or referred to using feminine pronouns.
So, while the Holy Spirit is neither male nor female in His essence, He is properly referred to in the masculine by virtue of His relation to creation and biblical revelation. There is absolutely no biblical basis for viewing the Holy Spirit as the “female” member of the Trinity.