1 John 5:16If you see any brother or sister commit a sin that does not lead to death, you should pray and God will give them life. I refer to those whose sin does not lead to death. There is a sin that leads to death. I am not saying that you should pray about that.
Righteous can be achieved, through faith, our deeds and our act of Worship, as Abraham believed the Lord and it was accounted unto him as been righteous however there may be dark days, this is certainly not ticket for us to allow ourselves into sin and falling into temptation
However if it does happen, and we defaulter at a certain point in our Christian life then certainly it is incumbent on us that we rise again, we go back to the process of cleansing and ask that the Lord forgives us through our confessions of Sin and repentance of the very deeds that lead us on the dark path of unrighteousness
It is by doing so that we may continue to enjoy the Grace and righteousness conferred to us as sons and daughters of the most high. So if you fall, rise again and do not go down the narrow dark path for it would destroy you.