As I see it, there is a threefold purpose for the existence of the church of God. Each of these purposes is connected to and dependent upon the other two. Perhaps we could call this a three-legged stool and whenever one of the legs is shorter than the others it creates an unstable situation.
The first purpose is to glorify God. “After this I beheld, and, lo, a great multitude, which no man could number, of all nations, and kindreds, and people, and tongues, stood before the throne, and before the Lamb, clothed with white robes, and palms in their hands; and cried with a loud voice, saying, Salvation to our God which sitteth upon the throne, and unto the Lamb. And all the angels stood round about the throne, and about the elders and the four beasts, and fell before the throne on their faces, and worshipped God, Saying, Amen: Blessing, and glory, and wisdom, and thanksgiving, and honour, and power, and might, be unto our God for ever and ever. Amen” (Revelation 7:9-12). This passage is set around the throne of God in heaven, but we must begin glorifying God here and now in order to be able to continue in eternity.
The second purpose is to provide a sheepfold for the God’s flock – a place where they can be fed, have their wounds cared for and be protected from the enemies seeking to harm them. “Till we all come in the unity of the faith, and of the knowledge of the Son of God, unto a perfect man, unto the measure of the stature of the fulness of Christ: that we henceforth be no more children, tossed to and fro, and carried about with every wind of doctrine, by the sleight of men, and cunning craftiness, whereby they lie in wait to deceive; but speaking the truth in love, may grow up into him in all things, which is the head, even Christ: from whom the whole body fitly joined together and compacted by that which every joint supplieth, according to the effectual working in the measure of every part, maketh increase of the body unto the edifying of itself in love” (Ephesians 4:13-16).
The third purpose is to proclaim the saving gospel of Jesus Christ to others. “And Jesus came and spake unto them, saying, All power is given unto me in heaven and in earth. Go ye therefore, and teach all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Ghost: teaching them to observe all things whatsoever I have commanded you: and, lo, I am with you alway, even unto the end of the world. Amen” (Matthew 28:18-20). “And all things are of God, who hath reconciled us to himself by Jesus Christ, and hath given to us the ministry of reconciliation; to wit, that God was in Christ, reconciling the world unto himself, not imputing their trespasses unto them; and hath committed unto us the word of reconciliation. Now then we are ambassadors for Christ, as though God did beseech you by us: we pray you in Christ’s stead, be ye reconciled to God” (2 Corinthians 5:18-20).
I don’t know that any one of these three purposes has preeminence over the others. If we are truly led of the Holy Spirit, we will accomplish all three.
The fruit of the Spirit: love, joy, peace and all the rest, must be evident in the church. The church should be a place where the wounded and weary can find true brotherly love that will be a balm to their wounds and speed their recovery. Yet the church must also be pure. Weak members should feel welcome, those who live in wilful disobedience must be reproved and if they do not repent they must not be retained in the sheepfold lest their disobedience be a snare to others. Joy should not be muted in the name of humility, or forced, out of a sense of duty. Peace must be genuine, based on thankfulness for God’s forgiveness and readiness to forgive others. If we let the Spirit do His perfect work in us, there will be no wobbliness in the way the church is perceived by others.