Matthew 5:29-30

And therefore if thy right eye cause thee to offend, pluck it out and cast it from thee; for it is better for thee that one part of thee perish, than that thy whole body should be cast into hell:

Matthew 18:8-9

If then thy hand or thy foot cause thee to offend, cut them off and cast them from thee; it is better for thee to enter into life halt or maimed, than having two hands or two feet to be cast into everlasting fire:

Treasury of Scripture Knowledge

Summary

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

Bible References

I kept

Matthew 5:29
And therefore if thy right eye cause thee to offend, pluck it out and cast it from thee; for it is better for thee that one part of thee perish, than that thy whole body should be cast into hell:
Matthew 18:8
If then thy hand or thy foot cause thee to offend, cut them off and cast them from thee; it is better for thee to enter into life halt or maimed, than having two hands or two feet to be cast into everlasting fire: