Deuterocanon

Sirach 9:8

Ben Sira, Ecclesiasticus

1 Do not be jealous of the wife of your bosom, or you will teach her an evil lesson to your own hurt. 2 Do not give yourself to a woman and let her trample down your strength. 3 Do not go near a loose woman, or you will fall into her snares. 4 Do not dally with a singing girl, or you will be caught by her tricks. 5 Do not look intently at a virgin, or you may stumble and incur penalties for her. 6 Do not give yourself to prostitutes, or you may lose your inheritance. 7 Do not look around in the streets of a city, or wander about in its deserted sections. 8 Turn away your eyes from a shapely woman, and do not gaze at beauty belonging to another; many have been seduced by a woman's beauty, and by it passion is kindled like a fire. 9 Never dine with another man's wife, or revel with her at wine; or your heart may turn aside to her, and in blood you may be plunged into destruction.

Date: 195-175 B.C.E.
* Dates are based on scholarly estimates
New Testament

Matthew 5:28

27 “You have heard that it was said, ‘Do not commit adultery.’ 28 But I say to you that whoever looks at a woman to desire her has already committed adultery with her in his heart. 29 If your right eye causes you to sin, tear it out and throw it away! It is better to lose one of your members than to have your whole body thrown into hell. 30 If your right hand causes you to sin, cut it off and throw it away! It is better to lose one of your members than to have your whole body go into hell.

Date: 70-90 C.E.
* Dates are based on scholarly estimates