Guidelines for Righteousness
Believe the Lord
Genesis 15:6
Abram believed the LORD, and he credited it to him as righteousness.
Genesis 15:5-7 (in Context) Genesis 15 (Whole Chapter)
Obey Him
Deuteronomy 6:25
And if we are careful to obey all this law before the LORD our God, as he has commanded us, that will be our righteousness.”
Deuteronomy 6:24-25 (in Context) Deuteronomy 6 (Whole Chapter)Â Â
Of course, for Christians, Christ is now our law, and the law is written on our hearts. However, it doesn’t negate the truth of this verse. Believing God and living your life so as to obey His commands will be credited to you as righteousness. Part of believing God is accepting His Son. Getting baptized, though not salvific is obedience.
Don’t claim credit for what God does through you
Deuteronomy 9:4-6Â
 4 After the LORD your God has driven them out before you, do not say to yourself, “The LORD has brought me here to take possession of this land because of my righteousness.” No, it is on account of the wickedness of these nations that the LORD is going to drive them out before you. 5 It is not because of your righteousness or your integrity that you are going in to take possession of their land; but on account of the wickedness of these nations, the LORD your God will drive them out before you, to accomplish what he swore to your fathers, to Abraham, Isaac and Jacob. 6 Understand, then, that it is not because of your righteousness that the LORD your God is giving you this good land to possess, for you are a stiff-necked people.