Psalm 18:23

and I was blameless before him, and I kept myself from my guilt.

1 Samuel 26:23

Yahweh repays to each [one] his righteousness and his faithfulness, for Yahweh gave you into my hand today, but I was not willing to stretch out my hand against Yahweh's anointed.

1 Chronicles 29:17

And I know, my God, that you yourself test the heart and are pleased with uprightness. I, in the uprightness of my heart, have willingly offered all these [things], and now I have seen your people who are found here willingly offer to you.

Psalm 7:1-8

O Yahweh, my God, in you I have taken refuge. Save me from all [who] pursue me, and deliver me.

Psalm 11:7

For Yahweh [is] righteous; he loves righteous deeds. [The] upright shall see his face.

Psalm 17:3

You have tried my heart; you have examined [me] by night; you have tested me; you found nothing. I have decided [that] my mouth will not transgress.

Psalm 37:27

Turn aside from evil and do good and [so] abide forever.

Matthew 5:29-30

And if your right eye causes you to sin, tear it out and throw [it] from you! For it is better for you that one of your members be destroyed than your whole body be thrown into hell.

Matthew 18:8-9

And if your hand or your foot causes you to sin, cut it off and throw [it] from you! It is better for you to enter into life crippled or lame than, having two hands or two feet, to be thrown into the eternal 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 Yahweh [is] righteous; he loves righteous deeds. [The] upright shall see his face.
Psalm 17:3
You have tried my heart; you have examined [me] by night; you have tested me; you found nothing. I have decided [that] my mouth will not transgress.
Psalm 37:27
Turn aside from evil and do good and [so] abide forever.
1 Samuel 26:23
Yahweh repays to each [one] his righteousness and his faithfulness, for Yahweh gave you into my hand today, but I was not willing to stretch out my hand against Yahweh's anointed.
1 Chronicles 29:17
And I know, my God, that you yourself test the heart and are pleased with uprightness. I, in the uprightness of my heart, have willingly offered all these [things], and now I have seen your people who are found here willingly offer to you.

I kept

Matthew 5:29
And if your right eye causes you to sin, tear it out and throw [it] from you! For it is better for you that one of your members be destroyed than your whole body be thrown into hell.
Matthew 18:8
And if your hand or your foot causes you to sin, cut it off and throw [it] from you! It is better for you to enter into life crippled or lame than, having two hands or two feet, to be thrown into the eternal fire!

General references

Psalm 25:21
Let integrity and uprightness preserve me, because I wait for you.