Whenever you feel confident in your level of righteousness, you should take a few moments and examine your thought life. Even the most righteous person often has thoughts that would engender a guilty plea for some of the most heinous crimes. Murder 1, often on a mass scale, takes top billing, followed by manslaughter in the first degree. At the next level comes adultery, followed by incest and other sexual sins. Those who have struggled with theft often have thoughts of shoplifting each time they enter a store or other shopping establishment.
The Lord God Almighty acknowledges that life on earth can be full of frustrations, temptations, and evil of every kind. It is almost impossible to survive unscathed. However, the guaranteed method for remaining pure and righteous in the eyes of God is to take every thought captive, and to insist on making it obedient to God's law. For example, if a thought of evil comes into your head, you can either pamper it and indulge in it, or you can cut it loose. Cutting it loose takes self control and precision focus, but eventually, you will become adept at maintaining righteousness even in your thoughts.
The Lord God Almighty El Shaddai