Job 31:1 in the King James Version
I made a covenant with mine eyes; why then should I think upon a maid?
Context
1 “I made a covenant with my eyes; how then should I look lustfully at a young woman?
2 For what is the portion from God above, and the heritage from the Almighty on high?