The church is the body of Jesus Christ on earth. It is the kingdom of God on earth for the purpose of reigning on the earth. The church assumes the sovereignty and authority of God on earth as the Lord Jesus was; your throne, O God, is forever and ever. The scepter of your kingdom is a scepter of uprightness; you have loved righteousness and hated wickedness. Psalm 45:6 ESV.
When one does the will of the Father in heaven he becomes the temple of God in which the Holy Spirit dwells. God seeks those who worship Him in Spirit and truth. It is only possible to worship Him in spirit and truth but the enemy is always opposed to such perfection saints. Hence, he wants you to believe that you can never be upright before God. Righteousness is a gift from God given to those who have repented through believing in Jesus Christ. Those are the ones who were chosen and foreknown by God the Father and consecrated (sanctified, made holy) by the Spirit to be obedient to Jesus Christ (the Messiah) and to be sprinkled with [His] blood: Peter1:2 AB.
You need to surrender heart to Jesus and He knows how to save you. He is the one who is able walk with you in the path of righteousness and adores you with Holiness. The love of God is demonstrated to us through our lord Jesus Christ who gave His life to redeem mankind. The will of God has always been to save mankind and give them life and have life in abundance, even life eternal.
The times of ignorance God overlooked, but now he commands all people everywhere to repent, because he has fixed a day on which he will judge the world in righteousness by a man whom He has appointed; and of this He has given assurance to all by raising him from the dead.” Acts 17:30 ESV. His spirit can guide you in your Christian walk.