Job 31:1

NIV
New International Version

1“I made a covenant with my eyes
not to look lustfully at a young woman.