Ephesians 6:17 says the sword of the Spirit is the word of God. Notice: The Spirit is NOT the word, but is the author of the word.
Some seem to confuse the Spirit and His products. Virgil Warren writes, “That the Holy Spirit has a personal nature, brings significant clarification because it avoids confusing Him with His products. The Spirit is not a power, but a person who has power. He is not a feeling, but a person we feel close to. He is not an attitude, but a person who influences our attitudes. He is not a principle, but a person who communicates principles to us. He is not an atmosphere, but a person who creates an atmosphere of love. Thus, we distinguish His effects from His “self”.”
We may not understand everything about the Spirit; like His indwelling, whether it is personal or only through the word, but we must believe that He indwells the Christian. Romans 8:9 says, “But you are not in the flesh, but in the Spirit, if indeed the Spirit of God dwells in you. Now if anyone does not have the Spirit of Christ, he is none of his.” Acts 5:32 says we receive the Spirit when we obey the Lord. See Acts 2:38.