2 Samuel 22:24

But was pure unto him ward, and kept myself from wickedness.

Genesis 6:9

These are the generations of Noah. Noah was a righteous man and uncorrupt in his time, and walked with God.

Genesis 17:1

When Abram was ninety years old and nine, the LORD appeared to him saying, "I am the almighty God: walk before me and be uncorrupt.

Job 1:1

In the land of Uz, there was a man called Job: an innocent and virtuous man, such a one as feared God, and eschewed evil.

Psalm 51:6

But lo, thou hast a pleasure in the truth, and hast showed me secret wisdom.

Psalm 84:11

For the LORD God is a light and defense; the LORD will give grace and worship, and no good thing shall he withhold from them that live a godly life.

Proverbs 4:23

Keep thine heart with all diligence, for thereupon hangeth life.

John 1:47

Jesus saw Nathanael coming to him, and said of him, "Behold a right Israelite, in whom is no guile."

2 Corinthians 5:11

Seeing, then, that we know how the Lord is to be feared, we fare fair with men. For we are known well enough unto God. I trust also that we are known in your consciences.

Ephesians 1:4

according as he had chosen us in him through love, before the foundation of the world was laid, that we should be saints, and without blame before him, through love.

Hebrews 12:1

Wherefore let us also - seeing that we are compassed with so great a multitude of witnesses - lay away all that presseth down, and the sin that hangeth on us, and let us run with patience, unto the battle that is set before us,

Treasury of Scripture Knowledge

Summary

I was also upright before him, and have kept myself from mine iniquity.

Bible References

Upright

Genesis 6:9
These are the generations of Noah. Noah was a righteous man and uncorrupt in his time, and walked with God.
Genesis 17:1
When Abram was ninety years old and nine, the LORD appeared to him saying, "I am the almighty God: walk before me and be uncorrupt.
Job 1:1
In the land of Uz, there was a man called Job: an innocent and virtuous man, such a one as feared God, and eschewed evil.
Psalm 51:6
But lo, thou hast a pleasure in the truth, and hast showed me secret wisdom.
Psalm 84:11
For the LORD God is a light and defense; the LORD will give grace and worship, and no good thing shall he withhold from them that live a godly life.
John 1:47
Jesus saw Nathanael coming to him, and said of him, "Behold a right Israelite, in whom is no guile."
2 Corinthians 5:11
Seeing, then, that we know how the Lord is to be feared, we fare fair with men. For we are known well enough unto God. I trust also that we are known in your consciences.

Kept

Proverbs 4:23
Keep thine heart with all diligence, for thereupon hangeth life.
Hebrews 12:1
Wherefore let us also - seeing that we are compassed with so great a multitude of witnesses - lay away all that presseth down, and the sin that hangeth on us, and let us run with patience, unto the battle that is set before us,