1Jn 2:16 KJV For all that is in the world, the lust of the flesh, and the lust of the eyes, and the pride of life, is not of the Father but is of the world.
Eyes are gates and by them, we get to draw into our spiritual lives what is good or bad.
It should come to a point where you make, like Job, a covenant with your eyes not to look at a woman or anything whatsoever lustfully.
Job 31:1 KJV I made a covenant with mine eyes; why then should I think upon a maid?
Remember, dreams are also influenced by what you visualize during the day.
Let not your eyes lust in anything!