בְּ֭רִית כָּרַ֣תִּי לְעֵינָ֑י וּמָ֥ה אֶ֝תְבּוֹנֵ֗ן עַל־בְּתוּלָֽה׃
I made a covenant with mine eyes; How then should I look upon a maid?
Rashi on Job
I made a covenant with my eyes not to gaze upon a married woman.
Malbim on Job
Job’s final solemn and awesome declaration of his innocence. He once again denies that he has sinned; on the contrary, he has led a virtuous and upright life. And so he repeats his demand that God answer his call for He surely knows the truth of this.
Rashi on Job
and why should I gaze upon a virgin? Why should I gaze upon her? Such was Job’s piety, not to lay an eye even on an unmarried woman. [He would say,] “Perhaps, after a time, she will be married, and I will find myself attracted to her.” So is [this verse] explained in Avoth D’Rabbi Nathan (2:5).