Righteousness exalts a nation, but sin condemns any people. (NIV)
Uprightness and right standing with God (moral and spiritual rectitude in every area and relation) elevate a nation, but sin is a reproach to any people. (AMP)
Righteousness exalteth a nation: but sin is a reproach to any people. (KJV)