The first thing God requires of us after being born again is to seek His righteousness. Not our own, but His. What is His righteousness if not perfect obedience to all His commandments? Our own righteousness is certainly not obedience to all His commandments, but if we seek His righteousness, if we hunger and thirst for it,Jesus promise to us is that we will be filled. God's righteousness comes to us in two ways. It is imputed to us the moment we accept Christ's sacrifice on calvary. We are accepted as children of God and are looked upon and regarded by the God-head as if we had never sinned. This is justification. The second way we receive His righteousness is by God imparting it to us by the work of the Holy Spirit in our everyday lives. Our characters are changed and we are transformed into the image of Christ.. This is an ongoing process that will last to the day we die. It is called sanctification.
Any known sin must be confessed and submitted to the Holy Spirit that He may free us from it's power. If we refuse to repent of any sin, and we hold on to it and cherish it desiring to continue in it rather than seeking the freedom God offers, we trample upon the blood of Christ and place ourselves at risk of losing our salvation. The Holy Spirit strives with men but will withdraw Himself if constantly and stubbornly resisted, as the Phasrisees did as attested to by Stephen.
Acts 7:51 ¶ Ye stiffnecked and uncircumcised in heart and ears, ye do always resist the Holy Ghost: as your fathers did, so do ye.
52 Which of the prophets have not your fathers persecuted? and they have slain them which shewed before of the coming of the Just One; of whom ye have been now the betrayers and murderers:
53 Who have received the law by the disposition of angels, and have not kept it.
54 ¶ When they heard these things, they were cut to the heart, and they gnashed on him with their teeth.
55 But he, being full of the Holy Ghost, looked up stedfastly into heaven, and saw the glory of God, and Jesus standing on the right hand of God,
56 And said, Behold, I see the heavens opened, and the Son of man standing on the right hand of God.
57 Then they cried out with a loud voice, and stopped their ears, and ran upon him with one accord,
58 And cast him out of the city, and stoned him:
Right now I believe the Holy Spirit is withdrawing from the earth. Have you noticed that those who desire and seek heavenly things are indeed increasing in righteousness and boldness in proclaiming the word of God to this final generation? And have you also noticed how much more strident is the opposition and how much more addicted to sin are those who resist the gospel?
There is a significant gap appearing between those who would follow Christ and those who would not. There is a much reduced 'grey' area in the middle today than there was when I first became a Christian 30 years ago. Those winds of strife being held back by the power of God spoken of in Rev 7:1. (See Jer 25:32,33.) I believe also are being loosed. The marked increase of storms and increase in war and crime world-wide is evidence that Satan has been given more freedom to work his evil upon the world. These crisis' are being permitted by God to bring people to repentance. Time is short. Jesus is soon to come. Those who seek a heavenly kingdom must now seek also God's righteousness that when He comes, He may indeed find a church without blemish and without spot.