2 Samuel 22:24

And I am perfect before Him, And I keep myself from mine iniquity.

Genesis 6:9

These are births of Noah: Noah is a righteous man; perfect he hath been among his generations; with God hath Noah walked habitually.

Genesis 17:1

And Abram is a son of ninety and nine years, and Jehovah appeareth unto Abram, and saith unto him, 'I am God Almighty, walk habitually before Me, and be thou perfect;

Job 1:1

A man there hath been in the land of Uz -- Job his name -- and that man hath been perfect and upright -- both fearing God, and turning aside from evil.

Psalm 51:6

Lo, truth Thou hast desired in the inward parts, And in the hidden part Wisdom Thou causest me to know.

Psalm 84:11

For a sun and a shield is Jehovah God, Grace and honour doth Jehovah give. He withholdeth not good To those walking in uprightness.

Proverbs 4:23

Above every charge keep thy heart, For out of it are the outgoings of life.

John 1:47

Jesus saw Nathanael coming unto him, and he saith concerning him, 'Lo, truly an Israelite, in whom guile is not;'

2 Corinthians 5:11

having known, therefore, the fear of the Lord, we persuade men, and to God we are manifested, and I hope also in your consciences to have been manifested;

Ephesians 1:4

according as He did choose us in him before the foundation of the world, for our being holy and unblemished before Him, in love,

Hebrews 12:1

Therefore, we also having so great a cloud of witnesses set around us, every weight having put off, and the closely besetting sin, through endurance may we run the contest 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 births of Noah: Noah is a righteous man; perfect he hath been among his generations; with God hath Noah walked habitually.
Genesis 17:1
And Abram is a son of ninety and nine years, and Jehovah appeareth unto Abram, and saith unto him, 'I am God Almighty, walk habitually before Me, and be thou perfect;
Job 1:1
A man there hath been in the land of Uz -- Job his name -- and that man hath been perfect and upright -- both fearing God, and turning aside from evil.
Psalm 51:6
Lo, truth Thou hast desired in the inward parts, And in the hidden part Wisdom Thou causest me to know.
Psalm 84:11
For a sun and a shield is Jehovah God, Grace and honour doth Jehovah give. He withholdeth not good To those walking in uprightness.
John 1:47
Jesus saw Nathanael coming unto him, and he saith concerning him, 'Lo, truly an Israelite, in whom guile is not;'
2 Corinthians 5:11
having known, therefore, the fear of the Lord, we persuade men, and to God we are manifested, and I hope also in your consciences to have been manifested;

Kept

Proverbs 4:23
Above every charge keep thy heart, For out of it are the outgoings of life.
Hebrews 12:1
Therefore, we also having so great a cloud of witnesses set around us, every weight having put off, and the closely besetting sin, through endurance may we run the contest that is set before us,