Blessings are on the head of the righteous, but violence covers the mouth of the wicked. (Proverbs 10:6)
Righteousness is simply doing things right by God's standards, not man's. For man's standards at their best are wicked and prove to be the way of violence. They are not so by man's judgment, but they are by God's. Isaiah says of man's righteousness, "We are all like an unclean thing, and all our righteousnesses are like filthy rags." Furthermore the scriptures instruct us, "There is a way that seems right to a man, but its end is the way of death." There is only one righteous way, and that way is God's way which is found in His Word, the book we call the Bible. When we operate by the Manufacturer's handbook we operate righteously. Therefore let it guide you by the leading of the Holy Spirit. Listen to it with an ear leaning toward obedience. Weigh your thoughts and deeds by its words. Look to it for conscience sake and be blessed in doing so.