Psalm 18:23

So became I blameless with him, and kept myself from mine iniquity.

1 Samuel 26:23

And let, Yahweh, give back to each man, his righteousness, and his faithfulness, - in that Yahweh delivered thee, to-day, into my hand, but I would not thrust forth my hand against the Anointed of Yahweh.

1 Chronicles 29:17

But I know, O my God, that, thou, art proving the heart, and, with uprightness, wilt thou be pleased, - I, in the uprightness of my heart, have willingly offered all these things, now, therefore, thy people who are found here, have I seen with joy, offering willingly unto thee.

Psalm 7:1-8

O Yahweh my God, in thee, have I sought refuge, - Save me from all my pursuers, and deliver me:

Psalm 11:7

For righteous is Yahweh Righteousness, he loveth, the upright, shall behold his face.

Psalm 17:3

Thou hast tested my heart, hast made inspection by night, hast refined me until thou couldst find nothing, Had I devised evil, my mouth should not have transgressed:

Psalm 37:27

Turn from evil, and do good, and so settle down, unto times age-abiding.

Matthew 5:29-30

And, if, thy right eye, is causing thee to stumble, pluck it out, and cast it from thee, - for it profiteth thee, that, one of thy members, should perish, and not, thy whole body, be cast into gehenna.

Matthew 18:8-9

But, if, thy hand or thy foot, be causing thee to stumble, cut it off, and cast it from thee: It is, seemly for thee, to enter into life, maimed or lame, rather than, having two hands or two feet, to be cast into the age-abiding fire.

Treasury of Scripture Knowledge

Summary

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

General references

Bible References

Upright

Psalm 11:7
For righteous is Yahweh Righteousness, he loveth, the upright, shall behold his face.
Psalm 17:3
Thou hast tested my heart, hast made inspection by night, hast refined me until thou couldst find nothing, Had I devised evil, my mouth should not have transgressed:
Psalm 37:27
Turn from evil, and do good, and so settle down, unto times age-abiding.
1 Samuel 26:23
And let, Yahweh, give back to each man, his righteousness, and his faithfulness, - in that Yahweh delivered thee, to-day, into my hand, but I would not thrust forth my hand against the Anointed of Yahweh.
1 Chronicles 29:17
But I know, O my God, that, thou, art proving the heart, and, with uprightness, wilt thou be pleased, - I, in the uprightness of my heart, have willingly offered all these things, now, therefore, thy people who are found here, have I seen with joy, offering willingly unto thee.

I kept

Matthew 5:29
And, if, thy right eye, is causing thee to stumble, pluck it out, and cast it from thee, - for it profiteth thee, that, one of thy members, should perish, and not, thy whole body, be cast into gehenna.
Matthew 18:8
But, if, thy hand or thy foot, be causing thee to stumble, cut it off, and cast it from thee: It is, seemly for thee, to enter into life, maimed or lame, rather than, having two hands or two feet, to be cast into the age-abiding fire.

General references

Psalm 25:21
Let, blamelessness and uprightness, watch over me, because I have waited for thee.