In this short passage “spirit” is used three times. There are many definitions of this word, and can be looked at from many different angles. If one is on a spiritual pilgrimage, it could mean that invisible power that can give guidance and comfort for us.
In the footnote of my Harper Collins Study Bible it shows that the holy spirit in verse 11 means “God’s sustaining, powerful presence.” No matter how it is defined, the writer of this Psalm wants to have a right and willing spirit, and wants the Lord God and the Holy Spirit to be near by. As we daily travel on our spiritual walk may we also desire the same. Blessings on your walk! Vernon T.